org.alfresco.repo.copy
Interface CopyServicePolicies.BeforeCopyPolicy
All Superinterfaces:
-
Enclosing class:
-
org.alfresco.repo.copy.CopyServicePolicies
public static interface CopyServicePolicies.BeforeCopyPolicy
The intermediate copy callback, which occurs once it has been decided which properties
and aspects will be copied, but before the copy occurs.
This allows you to remove cached data based on the destination node, before it is
overwritten. You are unable to make changes to what gets copied though, that must
be done earlier via a CopyServicePolicies.OnCopyNodePolicy.
QNAME
public static final QName QNAME
beforeCopy
-
Parameters:
-
classRef - the type of the node that will be copied
-
sourceNodeRef - the original node
-
targetNodeRef - the destination node