public class DefaultUserManager extends Object implements UserManagerClient
| Constructor and Description |
|---|
DefaultUserManager(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
createUser(String userId) |
boolean |
exists(String user) |
List<String> |
getUsers() |
void |
removeUser(String userId) |
public DefaultUserManager(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate)
public void createUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
createUser in interface UserManagerClientorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void removeUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
removeUser in interface UserManagerClientorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic List<String> getUsers() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
getUsers in interface UserManagerClientorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic boolean exists(String user) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
exists in interface UserManagerClientorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionCopyright © 2021. All Rights Reserved.