All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arangodb.InternalUsersDriver Maven / Gradle / Ivy

There is a newer version: 7.15.0
Show newest version
package com.arangodb;

import java.util.Map;

import com.arangodb.entity.DefaultEntity;
import com.arangodb.entity.UserEntity;
import com.arangodb.entity.UsersEntity;
import com.arangodb.impl.BaseDriverInterface;

/**
 * Created by fbartels on 10/27/14.
 */
public interface InternalUsersDriver extends BaseDriverInterface {
	DefaultEntity createUser(String username, String passwd, Boolean active, Map extra)
			throws ArangoException;

	DefaultEntity deleteUser(String username) throws ArangoException;

	UserEntity getUser(String username) throws ArangoException;

	UsersEntity getUsers() throws ArangoException;

	DefaultEntity replaceUser(String username, String passwd, Boolean active, Map extra)
			throws ArangoException;

	DefaultEntity updateUser(String username, String passwd, Boolean active, Map extra)
			throws ArangoException;

	DefaultEntity grantDatabaseAccess(final String username, final String database) throws ArangoException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy