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
Method Summary |
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 |
WorkflowAuthorityManager
public WorkflowAuthorityManager(AuthorityDAO authorityDAO)
mapAuthorityToName
public java.lang.String mapAuthorityToName(org.alfresco.service.cmr.repository.NodeRef authority)
- Convert Alfresco authority to user id
- Parameters:
authority
-
- Returns:
- actor id
mapNameToAuthority
public org.alfresco.service.cmr.repository.NodeRef mapNameToAuthority(java.lang.String name)
- Convert authority name to an Alfresco Authority
- Parameters:
names
- the authority names 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)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.