@AlfrescoPublicApi
public interface Capability
| Modifier and Type | Method and Description |
|---|---|
int |
evaluate(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Evaluates the capability.
|
int |
evaluate(org.alfresco.service.cmr.repository.NodeRef source,
org.alfresco.service.cmr.repository.NodeRef target)
Evaluates the capability, taking into account a target.
|
String |
getDescription()
Get the description of the capability
|
Group |
getGroup()
Gets the group of a capability
|
int |
getIndex()
Gets the index of a capability
|
String |
getName()
Get the name of the capability
|
String |
getTitle()
Get the title of the capability
|
org.alfresco.service.cmr.security.AccessStatus |
hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Does this capability apply to this nodeRef?
|
int |
hasPermissionRaw(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
boolean |
isPrivate()
Indicates whether this is a private capability or not.
|
org.alfresco.service.cmr.security.AccessStatus hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - int hasPermissionRaw(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - int evaluate(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - int evaluate(org.alfresco.service.cmr.repository.NodeRef source,
org.alfresco.service.cmr.repository.NodeRef target)
source - source node referencetarget - target node referenceboolean isPrivate()
String getName()
String getTitle()
String getDescription()
Group getGroup()
int getIndex()
Copyright © 2005–2018 Alfresco Software. All rights reserved.