public interface PermissionProvider
Modifier and Type | Method and Description |
---|---|
String[] |
getAliasPermissions(String perm) |
String[] |
getPermissionGroups(String perm) |
String[] |
getPermissions() |
String[] |
getSubPermissions(String perm) |
List<UserVisiblePermission> |
getUserVisiblePermissionDescriptors() |
List<UserVisiblePermission> |
getUserVisiblePermissionDescriptors(String typeName) |
String[] getPermissions()
String[] getPermissionGroups(String perm)
perm
- the name of a registered permissions that belongs to
permission groups (aka compound permissions)List<UserVisiblePermission> getUserVisiblePermissionDescriptors() throws ClientException
ClientException
List<UserVisiblePermission> getUserVisiblePermissionDescriptors(String typeName) throws ClientException
typeName
- the name of a Core type of the document whose ACP is to
be edited by the userClientException
String[] getSubPermissions(String perm) throws ClientException
perm
- the name of a registered compound permissionClientException
- if 'perm' is not a registered permissionString[] getAliasPermissions(String perm) throws ClientException
perm
- the name of a registered permissionClientException
- if 'perm' is not a registered permissionCopyright © 2011 Nuxeo SA. All Rights Reserved.