|
Note: Copy policies are used to modify the copy behaviour. Rather than attempt to determine, up front, the behaviour that applies for all types and aspects, the callbacks are used to lazily adjust the behaviour.
Implementing this policy is particularly important if aspects want to partake in the copy process. The behaviour can change whether or not the aspect is copied and which of the properties to carry to the new node.
If no behaviour is registered or no callback is given, then the default behaviour is assumed. Several pre-defined behaviours exist to simplify the callbacks, including:
Note: A 'class' is either a type or an aspect.
Field Summary | ||
org.alfresco.repo.policy.Policy.Arg |
ARG_0 | |
org.alfresco.repo.policy.Policy.Arg |
ARG_1 | |
QNAME |
Method Summary | ||
org.alfresco.repo.copy.CopyBehaviourCallback |
getCopyCallback(QName classRef, CopyDetails copyDetails) Called for all types and aspects before copying a node. |
|