Annotation Type AssociationPolicy
-
@Target(METHOD) @Retention(RUNTIME) public @interface AssociationPolicy
Indicates a method is a Association-level Policy.This annotation should only be applied to
AssociationPolicy
interface methods.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element 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.
-
-
-
Element Detail
-
value
java.lang.String[] value
The QNames of the types or aspects to apply the Policy to. Can be specified in prefix format (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.
- Default:
- {}
-
-
-
association
java.lang.String association
The QName of the association to apply the Policy to. Can be specified in prefix format ( or fully-qualified format.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.
- Default:
- ""
-
-
-
event
Event event
Indicates when to trigger the Behaviour.- Default:
- com.github.dynamicextensionsalfresco.behaviours.annotations.Event.INHERITED_OR_ALL
-
-