public class WorkflowAuthorityManager extends Object
Constructor and Description |
---|
WorkflowAuthorityManager(AuthorityDAO authorityDAO) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorityName(org.alfresco.service.cmr.repository.NodeRef authorityRef) |
boolean |
isUser(String authorityName) |
String |
mapAuthorityToName(org.alfresco.service.cmr.repository.NodeRef authority)
Convert Alfresco authority to user id
|
org.alfresco.service.cmr.repository.NodeRef |
mapNameToAuthority(String name)
Convert authority name to an Alfresco Authority
|
public WorkflowAuthorityManager(AuthorityDAO authorityDAO)
public String mapAuthorityToName(org.alfresco.service.cmr.repository.NodeRef authority)
authority
- NodeRefpublic org.alfresco.service.cmr.repository.NodeRef mapNameToAuthority(String name)
name
- the authority name to convertpublic boolean isUser(String authorityName)
public String getAuthorityName(org.alfresco.service.cmr.repository.NodeRef authorityRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.