Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.copy
Interface CopyServicePolicies.OnCopyCompletePolicy
All Superinterfaces:
ClassPolicy, Policy
Enclosing class:
org.alfresco.repo.copy.CopyServicePolicies

@org.alfresco.api.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.


Field Summary
QNAME
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
Method Summary
void
onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef, boolean copyToNewNode, Map<NodeRef> copyMap)
Field Detail
QNAME
public static final QName QNAME
Method Detail
onCopyComplete
void onCopyComplete(QName classRef,
                    NodeRef sourceNodeRef,
                    NodeRef targetNodeRef,
                    boolean copyToNewNode,
                    Map<NodeRef> copyMap)
Parameters:
classRef - the type of the node that was copied
sourceNodeRef - the original node
targetNodeRef - the destination node
copyMap - a map containing all the nodes that have been created during the copy

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.