Class DefaultUserManager
- java.lang.Object
-
- org.gcube.common.storagehub.client.proxies.DefaultManagerClient
-
- org.gcube.common.storagehub.client.proxies.DefaultUserManager
-
- All Implemented Interfaces:
ManagerClient,UserManagerClient
public class DefaultUserManager extends DefaultManagerClient implements UserManagerClient
-
-
Field Summary
-
Fields inherited from class org.gcube.common.storagehub.client.proxies.DefaultManagerClient
delegate
-
-
Constructor Summary
Constructors Constructor Description DefaultUserManager(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateUser(String userId)booleanexists(String user)List<String>getUsers()voidremoveUser(String userId)-
Methods inherited from class org.gcube.common.storagehub.client.proxies.DefaultManagerClient
impersonate, initQueryParameters, register
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.gcube.common.storagehub.client.proxies.ManagerClient
impersonate, register
-
-
-
-
Method Detail
-
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
-
-