22 lines
700 B
Java
22 lines
700 B
Java
package org.gcube.common.storagehub.client.proxies;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.common.storagehub.model.acls.AccessType;
|
|
import org.gcube.common.storagehub.model.exceptions.StorageHubException;
|
|
|
|
public interface GroupManagerClient {
|
|
|
|
void addUserToGroup(String userId, String groupId) throws StorageHubException;
|
|
|
|
void removeUserFromGroup(String userId, String groupId) throws StorageHubException;
|
|
|
|
void removeGroup(String groupId) throws StorageHubException;
|
|
|
|
void createGroup(String groupId, AccessType accessType) throws StorageHubException;
|
|
|
|
List<String> getUsersOfGroup(String groupId) throws StorageHubException;
|
|
|
|
List<String> getGroups() throws StorageHubException;
|
|
}
|