Annotation Type PropertyPolicy
-
@Target(METHOD) @Retention(RUNTIME) public @interface PropertyPolicy
Indicates a method is a Property-level Policy.This annotation should only be applied to
PropertyPolicy
interface methods.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Event
event
Indicates when to trigger the Behaviour.java.lang.String
property
The QName of the property to apply the Policy to.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:
- {}
-
-
-
property
java.lang.String property
The QName of the property 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 properties. If a property has been specified, the class name must also be specified. It is invalid to specify only a property.
- Default:
- ""
-
-
-
event
Event event
Indicates when to trigger the Behaviour.- Default:
- com.github.dynamicextensionsalfresco.behaviours.annotations.Event.INHERITED_OR_ALL
-
-