@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface PropertyPolicy
This annotation should only be applied to PropertyPolicy
interface methods.
Modifier and Type | Optional Element and 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.
|
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 property
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.
public abstract Event event