Class VREFolderManager
java.lang.Object
org.gcube.common.storagehub.client.dsl.VREFolderManager
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVREFolderManager(WorkspaceManagerClient wsClient, GroupManagerClient groupClient, String vreTitle) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetUsers()voidremoveAdmin(String userId) voidremoveUser(String userId) voidvoid
-
Constructor Details
-
VREFolderManager
protected VREFolderManager(WorkspaceManagerClient wsClient, GroupManagerClient groupClient, String vreTitle)
-
-
Method Details
-
removeUser
public void removeUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
addUser
public void addUser(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getUsers
public List<String> getUsers() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
setAdmin
public void setAdmin(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
removeAdmin
public void removeAdmin(String userId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getAdmins
public List<String> getAdmins() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
createVRE
public void createVRE(org.gcube.common.storagehub.model.acls.AccessType accessType, String folderOwner) throws org.gcube.common.storagehub.model.exceptions.StorageHubException - Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
removeVRE
public void removeVRE() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-