Package org.alfresco.repo.copy
Class CopyBehaviourCallback.CopyChildAssociationDetails
- java.lang.Object
-
- org.alfresco.repo.copy.CopyBehaviourCallback.CopyChildAssociationDetails
-
- Enclosing interface:
- CopyBehaviourCallback
public static final class CopyBehaviourCallback.CopyChildAssociationDetails extends Object
A simple bean class to convey information to the callback methods dealing with copying of child associations.
-
-
Constructor Summary
Constructors Constructor Description CopyChildAssociationDetails(ChildAssociationRef childAssocRef, NodeRef copyTarget, boolean copyTargetIsNew, boolean copyChildren)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildAssociationRefgetChildAssocRef()NodeRefgetCopyTarget()booleangetCopyTargetIsNew()booleanisCopyChildren()Get the current recursion behaviour.StringtoString()
-
-
-
Constructor Detail
-
CopyChildAssociationDetails
public CopyChildAssociationDetails(ChildAssociationRef childAssocRef, NodeRef copyTarget, boolean copyTargetIsNew, boolean copyChildren)
-
-
Method Detail
-
getChildAssocRef
public final ChildAssociationRef getChildAssocRef()
- Returns:
- Returns the association being examined
-
getCopyTarget
public final NodeRef getCopyTarget()
- Returns:
- Returns the node that will be the new parent if the association is copied
-
getCopyTargetIsNew
public final boolean getCopyTargetIsNew()
- Returns:
- Returns true if the
target nodehas been newly created by the copy process or false if it is a node that existed prior to the copy
-
isCopyChildren
public final boolean isCopyChildren()
Get the current recursion behaviour. This can be ignored and even altered, if required.- Returns:
- Returns true if the copy process is currently recursing to child associations or false if not.
-
-