@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface AssociationPolicy
This annotation should only be applied to ClassPolicy
interface methods.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
association
The QName of the association to apply the Policy to.
|
Event |
event
Indicates when to trigger the Behaviour.
|
java.lang.String[] |
value
The QNames of the types or aspects to apply the Policy to.
|
public abstract java.lang.String[] value
cm:content
) or fully-qualified format (
{http://www.alfresco.org/model/content/1.0}content
).
If no value is specified, the Policy is applied to all types and aspects.
public abstract java.lang.String association
If no value is specified, the Policy is applied to all associations. If an association has been specified, the class name must also be specified. It is invalid to specify only an assocation.
public abstract Event event