P
- the policy interface@AlfrescoPublicApi public class ClassPolicyDelegate<P extends ClassPolicy> extends Object
Modifier and Type | Method and Description |
---|---|
P |
get(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName classQName)
Gets the Policy implementation for the specified Class
|
P |
get(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<org.alfresco.service.namespace.QName> classQNames)
Gets the policy implementation for the given classes.
|
P |
get(org.alfresco.service.namespace.QName classQName)
Gets the Policy implementation for the specified Class
When multiple behaviours are bound to the policy for the class, an
aggregate policy implementation is returned which invokes each policy
in turn.
|
P |
get(Set<org.alfresco.service.namespace.QName> classQNames)
Gets the policy implementation for the given classes.
|
Collection<P> |
getList(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName classQName)
Gets the collection of Policy implementations for the specified Class
|
Collection<P> |
getList(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<org.alfresco.service.namespace.QName> classQNames)
Gets the collection of Policy implementations for the given classes
|
Collection<P> |
getList(org.alfresco.service.namespace.QName classQName)
Gets the collection of Policy implementations for the specified Class
|
Collection<P> |
getList(Set<org.alfresco.service.namespace.QName> classQNames)
Gets the collection of Policy implementations for the given classes
|
public P get(org.alfresco.service.namespace.QName classQName)
classQName
- the class qualified namepublic P get(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName classQName)
nodeRef
- the node referenceclassQName
- the class namepublic Collection<P> getList(org.alfresco.service.namespace.QName classQName)
classQName
- the class qualified namepublic Collection<P> getList(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName classQName)
nodeRef
- the node referenceclassQName
- the class qualified namepublic P get(Set<org.alfresco.service.namespace.QName> classQNames)
classQNames
- the class qualified namespublic P get(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<org.alfresco.service.namespace.QName> classQNames)
nodeRef
- the node referenceclassQNames
- the class qualified namespublic Collection<P> getList(Set<org.alfresco.service.namespace.QName> classQNames)
classQNames
- the class qualified namespublic Collection<P> getList(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<org.alfresco.service.namespace.QName> classQNames)
classQNames
- the class qualified namesCopyright © 2005–2017 Alfresco Software. All rights reserved.