Class WorkflowAuthorityManager


  • public class WorkflowAuthorityManager
    extends Object
    Since:
    3.4.e
    Author:
    Nick Smith
    • Constructor Detail

      • WorkflowAuthorityManager

        public WorkflowAuthorityManager​(AuthorityDAO authorityDAO)
    • Method Detail

      • mapAuthorityToName

        public String mapAuthorityToName​(org.alfresco.service.cmr.repository.NodeRef authority)
        Convert Alfresco authority to user id
        Parameters:
        authority - NodeRef
        Returns:
        actor id
      • mapNameToAuthority

        public org.alfresco.service.cmr.repository.NodeRef mapNameToAuthority​(String name)
        Convert authority name to an Alfresco Authority
        Parameters:
        name - the authority name to convert
        Returns:
        the Alfresco authorities
      • isUser

        public boolean isUser​(String authorityName)
      • getAuthorityName

        public String getAuthorityName​(org.alfresco.service.cmr.repository.NodeRef authorityRef)