Interface ACLManagerInterface
-
- All Known Implementing Classes:
ACLManagerDelegate
public interface ACLManagerInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String targetUser, org.gcube.common.storagehub.model.items.SharedFolder folder, javax.jcr.Session session)List<org.gcube.common.storagehub.model.acls.ACL>get(org.gcube.common.storagehub.model.items.Item item, javax.jcr.Session session)returns the AccessType for all the users in a shared foldervoidupdate(String targetUser, org.gcube.common.storagehub.model.items.SharedFolder folder, org.gcube.common.storagehub.model.acls.AccessType accessType, javax.jcr.Session session)Set a new AccessType for a user in a shared folder or VRE folder
-
-
-
Method Detail
-
get
List<org.gcube.common.storagehub.model.acls.ACL> get(org.gcube.common.storagehub.model.items.Item item, javax.jcr.Session session) throws javax.jcr.RepositoryException, org.gcube.common.storagehub.model.exceptions.BackendGenericError
returns the AccessType for all the users in a shared folder- Throws:
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.BackendGenericError
-
update
void update(String targetUser, org.gcube.common.storagehub.model.items.SharedFolder folder, org.gcube.common.storagehub.model.acls.AccessType accessType, javax.jcr.Session session) throws javax.jcr.RepositoryException, org.gcube.common.storagehub.model.exceptions.StorageHubException
Set a new AccessType for a user in a shared folder or VRE folder- Parameters:
String- useraccessType- accessType- Throws:
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.StorageHubException
-
delete
void delete(String targetUser, org.gcube.common.storagehub.model.items.SharedFolder folder, javax.jcr.Session session) throws javax.jcr.RepositoryException, org.gcube.common.storagehub.model.exceptions.StorageHubException
- Throws:
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.StorageHubException
-
-