Class WorkflowAuthorityManager


  • public class WorkflowAuthorityManager
    extends java.lang.Object
    Since:
    3.4.e
    Author:
    Nick Smith
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAuthorityName​(org.alfresco.service.cmr.repository.NodeRef authorityRef)  
      boolean isUser​(java.lang.String authorityName)  
      java.lang.String mapAuthorityToName​(org.alfresco.service.cmr.repository.NodeRef authority)
      Convert Alfresco authority to user id
      org.alfresco.service.cmr.repository.NodeRef mapNameToAuthority​(java.lang.String name)
      Convert authority name to an Alfresco Authority
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowAuthorityManager

        public WorkflowAuthorityManager​(AuthorityDAO authorityDAO)
    • Method Detail

      • mapAuthorityToName

        public java.lang.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​(java.lang.String name)
        Convert authority name to an Alfresco Authority
        Parameters:
        name - the authority name to convert
        Returns:
        the Alfresco authorities
      • isUser

        public boolean isUser​(java.lang.String authorityName)
      • getAuthorityName

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