Interface ExtendedPermissionService
-
- All Superinterfaces:
org.alfresco.service.cmr.security.PermissionService
- All Known Implementing Classes:
ExtendedPermissionServiceImpl
public interface ExtendedPermissionService extends org.alfresco.service.cmr.security.PermissionService
Extended Permission Service Interface used in RM.- Since:
- 2.1
- Author:
- Roy Wetherall
-
-
Field Summary
-
Fields inherited from interface org.alfresco.service.cmr.security.PermissionService
ADD_CHILDREN, ADMINISTRATOR_AUTHORITY, ALL_AUTHORITIES, ALL_PERMISSIONS, ASPECTS, CANCEL_CHECK_OUT, CHANGE_PERMISSIONS, CHECK_IN, CHECK_OUT, CONSUMER, CONTRIBUTOR, COORDINATOR, CREATE_ASSOCIATIONS, CREATE_CHILDREN, DELETE, DELETE_ASSOCIATIONS, DELETE_CHILDREN, DELETE_NODE, EDITOR, EXECUTE, EXECUTE_CONTENT, FULL_CONTROL, GROUP_PREFIX, GUEST_AUTHORITY, LINK_CHILDREN, LOCK, LOCK_OWNER_AUTHORITY, OWNER_AUTHORITY, PROPERTIES, READ, READ_ASSOCIATIONS, READ_CHILDREN, READ_CONTENT, READ_PERMISSIONS, READ_PROPERTIES, ROLE_PREFIX, SET_OWNER, TAKE_OWNERSHIP, UNLOCK, WRITE, WRITE_CONTENT, WRITE_PROPERTIES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.alfresco.util.Pair<Set<String>,Set<String>>
getReadersAndWriters(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the readers and writers for a given node.Set<String>
getWriters(Long aclId)
Get a set of all the authorities that have write access.-
Methods inherited from interface org.alfresco.service.cmr.security.PermissionService
clearPermission, clearPermission, deletePermission, deletePermission, deletePermissions, deletePermissions, getAllAuthorities, getAllPermission, getAllSetPermissions, getAllSetPermissions, getAuthorisations, getInheritParentPermissions, getOwnerAuthority, getPermissions, getReaders, getReadersDenied, getSettablePermissions, getSettablePermissions, hasPermission, hasPermission, hasReadPermission, setInheritParentPermissions, setInheritParentPermissions, setPermission, setPermission
-
-
-
-
Method Detail
-
getWriters
Set<String> getWriters(Long aclId)
Get a set of all the authorities that have write access.
-
getReadersAndWriters
org.alfresco.util.Pair<Set<String>,Set<String>> getReadersAndWriters(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the readers and writers for a given node.The writers list includes the owner for the node.
- Parameters:
nodeRef
- node reference- Returns:
- Pair<Set<String>, Set<String>> first is a set containing all the authorities that have read permission on the document and second is a set containing all the authorities that have write permission on the document, including the owner.
- Since:
- 2.5
-
-