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
  • 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:
      createUser in interface UserManagerClient
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
    • removeUser

      public void removeUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Specified by:
      removeUser in interface UserManagerClient
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
    • getUsers

      public List<String> getUsers() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Specified by:
      getUsers in interface UserManagerClient
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
    • exists

      public boolean exists(String user) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Specified by:
      exists in interface UserManagerClient
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException