1 17 package org.alfresco.repo.copy; 18 19 import java.util.Map ; 20 21 import org.alfresco.repo.policy.ClassPolicy; 22 import org.alfresco.repo.policy.PolicyScope; 23 import org.alfresco.service.cmr.repository.NodeRef; 24 import org.alfresco.service.cmr.repository.StoreRef; 25 import org.alfresco.service.namespace.QName; 26 27 30 public interface CopyServicePolicies 31 { 32 35 public interface OnCopyNodePolicy extends ClassPolicy 36 { 37 44 public void onCopyNode( 45 QName classRef, 46 NodeRef sourceNodeRef, 47 StoreRef destinationStoreRef, 48 boolean copyToNewNode, 49 PolicyScope copyDetails); 50 } 51 52 58 public interface OnCopyCompletePolicy extends ClassPolicy 59 { 60 66 public void onCopyComplete( 67 QName classRef, 68 NodeRef sourceNodeRef, 69 NodeRef destinationRef, 70 boolean copyToNewNode, 71 Map <NodeRef, NodeRef> copyMap); 72 } 73 } 74 | Popular Tags |