Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.policy
Class PropertyPolicyDelegate<P extends PropertyPolicy>
java.lang.Object
  org.alfresco.repo.policy.PropertyPolicyDelegate<P>
Type Parameters:
P - the policy interface

public class PropertyPolicyDelegate<P extends PropertyPolicy>
extends Object
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
get(NodeRef nodeRef, QName classQName, 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.
get(NodeRef nodeRef, Set<QName> classQNames, QName propertyQName)
          Gets a Policy for all the given Class and Property
get(QName classQName, 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.
get(Set<QName> classQNames, QName propertyQName)
          Gets a Policy for all the given Class and Property
getList(NodeRef nodeRef, QName classQName, QName propertyQName)
          Gets the collection of Policy implementations for the specified Class and Property
getList(NodeRef nodeRef, Set<QName> classQNames, QName propertyQName)
          Gets the Policy instances for all the given Classes and Properties
getList(QName classQName, QName propertyQName)
          Gets the collection of Policy implementations for the specified Class and Property
getList(Set<QName> classQNames, 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 P get(QName classQName,
             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 P get(NodeRef nodeRef,
             QName classQName,
             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 Collection<PgetList(QName classQName,
                             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 Collection<PgetList(NodeRef nodeRef,
                             QName classQName,
                             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 P get(Set<QName> classQNames,
             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 P get(NodeRef nodeRef,
             Set<QName> classQNames,
             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 Collection<PgetList(Set<QName> classQNames,
                             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 Collection<PgetList(NodeRef nodeRef,
                             Set<QName> classQNames,
                             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

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.