Interface ExtendedPermissionService

All Superinterfaces:
PermissionService
All Known Implementing Classes:
ExtendedPermissionServiceImpl

public interface ExtendedPermissionService extends PermissionService
Extended Permission Service Interface used in RM.
Since:
2.1
Author:
Roy Wetherall
  • Method Details

    • getWriters

      Set<String> getWriters(Long aclId)
      Get a set of all the authorities that have write access.
      Parameters:
      aclId - acl id
      Returns:
      Set<String> set of authorities with write access
    • getReadersAndWriters

      Pair<Set<String>,Set<String>> getReadersAndWriters(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