org.gcube.portlets.user.homelibrary.home.workspace.acl
Interface Capabilities
public interface Capabilities
- Author:
- Federico De Faveri defaveri@isti.cnr.it
checkCapability
boolean checkCapability(User user,
Operation operation)
- Check if the user have the capability for the specified operation.
- Parameters:
user - the user to check.operation - the operation to check.
- Returns:
true if is enabled, false otherwise.
getCapabilities
List<Capability> getCapabilities(User user)
- Returns a list of capability for the specified user.
- Parameters:
user - the user.
- Returns:
- the capability list.
getAllCapabilities
Set<Map.Entry<User,List<Capability>>> getAllCapabilities()
- Returns:
- all capabilities for all the users.
isShared
boolean isShared()
- Returns:
true if the element is shared.
Copyright © 2013. All Rights Reserved.