Class DefaultUserManager
java.lang.Object
org.gcube.common.storagehub.client.proxies.DefaultManagerClient
org.gcube.common.storagehub.client.proxies.DefaultUserManager
- All Implemented Interfaces:
ManagerClient,UserManagerClient
-
Field Summary
Fields inherited from class org.gcube.common.storagehub.client.proxies.DefaultManagerClient
delegate -
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserManager(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateUser(String userId) booleangetUsers()voidremoveUser(String userId) Methods inherited from class org.gcube.common.storagehub.client.proxies.DefaultManagerClient
impersonate, initQueryParameters, registerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gcube.common.storagehub.client.proxies.ManagerClient
impersonate, register
-
Constructor Details
-
DefaultUserManager
public DefaultUserManager(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate)
-
-
Method Details
-
createUser
public void createUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Specified by:
createUserin interfaceUserManagerClient- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
removeUser
public void removeUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Specified by:
removeUserin interfaceUserManagerClient- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getUsers
public List<String> getUsers() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Specified by:
getUsersin interfaceUserManagerClient- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
exists
public boolean exists(String user) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Specified by:
existsin interfaceUserManagerClient- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-