public class WorkflowAuthorityManager
extends java.lang.Object
| Constructor and Description |
|---|
WorkflowAuthorityManager(AuthorityDAO authorityDAO) |
| Modifier and Type | Method and 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
|
public WorkflowAuthorityManager(AuthorityDAO authorityDAO)
public java.lang.String mapAuthorityToName(org.alfresco.service.cmr.repository.NodeRef authority)
authority - public org.alfresco.service.cmr.repository.NodeRef mapNameToAuthority(java.lang.String name)
names - the authority names to convertpublic boolean isUser(java.lang.String authorityName)
public java.lang.String getAuthorityName(org.alfresco.service.cmr.repository.NodeRef authorityRef)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.