Package org.alfresco.repo.policy
Class PropertyPolicyDelegate<P extends PropertyPolicy>
java.lang.Object
org.alfresco.repo.policy.PropertyPolicyDelegate<P>
- Type Parameters:
P- the policy interface
Delegate for a Class Feature-level (Property and Association) Policies. Provides access to Policy Interface implementations which invoke the appropriate bound behaviours.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptionGets a Policy for all the given Class and PropertyGets a Policy for all the given Class and PropertyGets the Policy implementation for the specified Class and Propery When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn.Gets the Policy implementation for the specified Class and Propery When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn.Gets the Policy instances for all the given Classes and PropertiesGets the Policy instances for all the given Classes and PropertiesGets the collection of Policy implementations for the specified Class and PropertyGets the collection of Policy implementations for the specified Class and Property
-
Method Details
-
get
Gets the Policy implementation for the specified Class and Propery When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn.- Parameters:
classQName- the class qualified namepropertyQName- the property qualified name- Returns:
- the policy
-
get
Gets the Policy implementation for the specified Class and Propery When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn.- Parameters:
nodeRef- the node referenceclassQName- the class qualified namepropertyQName- the property qualified name- Returns:
- the policy
-
getList
Gets the collection of Policy implementations for the specified Class and Property- Parameters:
classQName- the class qualified namepropertyQName- the property qualified name- Returns:
- the collection of policies
-
getList
Gets the collection of Policy implementations for the specified Class and Property- Parameters:
nodeRef- the node referenceclassQName- the class qualified namepropertyQName- the property qualified name- Returns:
- the collection of policies
-
get
Gets a Policy for all the given Class and Property- Parameters:
classQNames- the class qualified namespropertyQName- the property qualified name- Returns:
- Return the policy
-
get
Gets a Policy for all the given Class and Property- Parameters:
nodeRef- the node referenceclassQNames- the class qualified namespropertyQName- the property qualified name- Returns:
- Return the policy
-
getList
Gets the Policy instances for all the given Classes and Properties- Parameters:
classQNames- the class qualified namespropertyQName- the property qualified name- Returns:
- Return the policies
-
getList
Gets the Policy instances for all the given Classes and Properties- Parameters:
nodeRef- the node referenceclassQNames- the class qualified namespropertyQName- the property qualified name- Returns:
- Return the policies
-