Package org.alfresco.repo.copy
Interface CopyServicePolicies.OnCopyCompletePolicy
- All Superinterfaces:
ClassPolicy,Policy
- All Known Implementing Classes:
AccessAuditor,ActionsAspect,ActionServiceImpl,DiscussableAspect,RulesAspect,TaggingServiceImpl
- Enclosing interface:
- CopyServicePolicies
@AlfrescoPublicApi
public static interface CopyServicePolicies.OnCopyCompletePolicy
extends ClassPolicy
Final callback after the copy (including any cascading) has been completed. This should be used where post-copy manipulation of nodes is required in order to enforce adherence to a particular dictionary or business model.
The copy map contains all the nodes created during the copy, this helps to re-map any potentially relative associations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg -
Field Summary
Fields -
Method Summary
-
Field Details
-
QNAME
-
-
Method Details
-
onCopyComplete
void onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef, boolean copyToNewNode, Map<NodeRef, NodeRef> copyMap) - Parameters:
classRef- the type of the node that was copiedsourceNodeRef- the original nodetargetNodeRef- the destination nodecopyMap- a map containing all the nodes that have been created during the copy
-