Class WorkflowAuthorityManager

java.lang.Object
org.alfresco.repo.workflow.WorkflowAuthorityManager

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

    • WorkflowAuthorityManager

      public WorkflowAuthorityManager(AuthorityDAO authorityDAO)
  • Method Details

    • mapAuthorityToName

      public String mapAuthorityToName(NodeRef authority)
      Convert Alfresco authority to user id
      Parameters:
      authority - NodeRef
      Returns:
      actor id
    • mapNameToAuthority

      public 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(NodeRef authorityRef)