@AlfrescoPublicApi public static interface CopyServicePolicies.OnCopyCompletePolicy extends ClassPolicy
The copy map contains all the nodes created during the copy, this helps to re-map any potentially relative associations.
Policy.Arg
Modifier and Type | Field and Description |
---|---|
static org.alfresco.service.namespace.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
void |
onCopyComplete(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef,
boolean copyToNewNode,
Map<org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef> copyMap) |
void onCopyComplete(org.alfresco.service.namespace.QName classRef, org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef targetNodeRef, boolean copyToNewNode, Map<org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef> copyMap)
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 copyCopyright © 2005–2017 Alfresco Software. All rights reserved.