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.BeforeCopyPolicy
All Superinterfaces:
ClassPolicy, Policy
Enclosing class:
org.alfresco.repo.copy.CopyServicePolicies

@org.alfresco.api.AlfrescoPublicApi
public static interface CopyServicePolicies.BeforeCopyPolicy
extends ClassPolicy
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.

Field Summary
QNAME
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
Method Summary
void
beforeCopy(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef)
Field Detail
QNAME
public static final QName QNAME
Method Detail
beforeCopy
void beforeCopy(QName classRef,
                NodeRef sourceNodeRef,
                NodeRef targetNodeRef)
Parameters:
classRef - the type of the node that will be copied
sourceNodeRef - the original node
targetNodeRef - the destination node

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.