Package org.alfresco.repo.workflow
Class WorkflowAuthorityManager
- java.lang.Object
-
- org.alfresco.repo.workflow.WorkflowAuthorityManager
-
public class WorkflowAuthorityManager extends java.lang.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 java.lang.StringgetAuthorityName(org.alfresco.service.cmr.repository.NodeRef authorityRef)booleanisUser(java.lang.String authorityName)java.lang.StringmapAuthorityToName(org.alfresco.service.cmr.repository.NodeRef authority)Convert Alfresco authority to user idorg.alfresco.service.cmr.repository.NodeRefmapNameToAuthority(java.lang.String name)Convert authority name to an Alfresco Authority
-
-
-
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)
-
-