org.alfresco.repo.policy
Class PropertyPolicyDelegate

java.lang.Object
  extended by org.alfresco.repo.policy.PropertyPolicyDelegate

public class PropertyPolicyDelegate
extends java.lang.Object

Delegate for a Class Feature-level (Property and Association) Policies. Provides access to Policy Interface implementations which invoke the appropriate bound behaviours.


Method Summary
 PropertyPolicy get(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName classQName, org.alfresco.service.namespace.QName propertyQName)
          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.
 PropertyPolicy get(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Set classQNames, org.alfresco.service.namespace.QName propertyQName)
          Gets a Policy for all the given Class and Property
 PropertyPolicy get(org.alfresco.service.namespace.QName classQName, org.alfresco.service.namespace.QName propertyQName)
          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.
 PropertyPolicy get(java.util.Set classQNames, org.alfresco.service.namespace.QName propertyQName)
          Gets a Policy for all the given Class and Property
 java.util.Collection getList(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName classQName, org.alfresco.service.namespace.QName propertyQName)
          Gets the collection of Policy implementations for the specified Class and Property
 java.util.Collection getList(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Set classQNames, org.alfresco.service.namespace.QName propertyQName)
          Gets the Policy instances for all the given Classes and Properties
 java.util.Collection getList(org.alfresco.service.namespace.QName classQName, org.alfresco.service.namespace.QName propertyQName)
          Gets the collection of Policy implementations for the specified Class and Property
 java.util.Collection getList(java.util.Set classQNames, org.alfresco.service.namespace.QName propertyQName)
          Gets the Policy instances for all the given Classes and Properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public PropertyPolicy get(org.alfresco.service.namespace.QName classQName,
                          org.alfresco.service.namespace.QName propertyQName)
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 name
propertyQName - the property qualified name
Returns:
the policy

get

public PropertyPolicy get(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                          org.alfresco.service.namespace.QName classQName,
                          org.alfresco.service.namespace.QName propertyQName)
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 reference
classQName - the class qualified name
propertyQName - the property qualified name
Returns:
the policy

getList

public java.util.Collection getList(org.alfresco.service.namespace.QName classQName,
                                    org.alfresco.service.namespace.QName propertyQName)
Gets the collection of Policy implementations for the specified Class and Property

Parameters:
classQName - the class qualified name
propertyQName - the property qualified name
Returns:
the collection of policies

getList

public java.util.Collection getList(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    org.alfresco.service.namespace.QName classQName,
                                    org.alfresco.service.namespace.QName propertyQName)
Gets the collection of Policy implementations for the specified Class and Property

Parameters:
nodeRef - the node reference
classQName - the class qualified name
propertyQName - the property qualified name
Returns:
the collection of policies

get

public PropertyPolicy get(java.util.Set classQNames,
                          org.alfresco.service.namespace.QName propertyQName)
Gets a Policy for all the given Class and Property

Parameters:
classQNames - the class qualified names
propertyQName - the property qualified name
Returns:
Return the policy

get

public PropertyPolicy get(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                          java.util.Set classQNames,
                          org.alfresco.service.namespace.QName propertyQName)
Gets a Policy for all the given Class and Property

Parameters:
nodeRef - the node reference
classQNames - the class qualified names
propertyQName - the property qualified name
Returns:
Return the policy

getList

public java.util.Collection getList(java.util.Set classQNames,
                                    org.alfresco.service.namespace.QName propertyQName)
Gets the Policy instances for all the given Classes and Properties

Parameters:
classQNames - the class qualified names
propertyQName - the property qualified name
Returns:
Return the policies

getList

public java.util.Collection getList(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    java.util.Set classQNames,
                                    org.alfresco.service.namespace.QName propertyQName)
Gets the Policy instances for all the given Classes and Properties

Parameters:
nodeRef - the node reference
classQNames - the class qualified names
propertyQName - the property qualified name
Returns:
Return the policies


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.