Package org.alfresco.repo.workflow
Class WorkflowAuthorityManager
- java.lang.Object
-
- org.alfresco.repo.workflow.WorkflowAuthorityManager
-
public class WorkflowAuthorityManager extends Object
- Since:
- 3.4.e
- Author:
- Nick Smith
-
-
Constructor Summary
Constructors Constructor Description WorkflowAuthorityManager(AuthorityDAO authorityDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorityName(NodeRef authorityRef)booleanisUser(String authorityName)StringmapAuthorityToName(NodeRef authority)Convert Alfresco authority to user idNodeRefmapNameToAuthority(String name)Convert authority name to an Alfresco Authority
-
-
-
Constructor Detail
-
WorkflowAuthorityManager
public WorkflowAuthorityManager(AuthorityDAO authorityDAO)
-
-
Method Detail
-
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)
-
-