Package org.alfresco.repo.copy
Class CopyBehaviourCallback.CopyAssociationDetails
- java.lang.Object
-
- org.alfresco.repo.copy.CopyBehaviourCallback.CopyAssociationDetails
-
- Enclosing interface:
- CopyBehaviourCallback
public static final class CopyBehaviourCallback.CopyAssociationDetails extends java.lang.ObjectA simple bean class to convey information to the callback methods dealing with copying of associations.- Since:
- 3.3SP3
- Author:
- Derek Hulley
- See Also:
CopyBehaviourCallback.getAssociationCopyAction(QName, CopyDetails, CopyAssociationDetails)
-
-
Constructor Summary
Constructors Constructor Description CopyAssociationDetails(org.alfresco.service.cmr.repository.AssociationRef assocRef, org.alfresco.service.cmr.repository.NodeRef copyTarget, boolean copyTargetIsNew)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.AssociationRefgetAssocRef()org.alfresco.service.cmr.repository.NodeRefgetCopyTarget()booleangetCopyTargetIsNew()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getAssocRef
public final org.alfresco.service.cmr.repository.AssociationRef getAssocRef()
- Returns:
- Returns the association being examined
-
getCopyTarget
public final org.alfresco.service.cmr.repository.NodeRef getCopyTarget()
- Returns:
- Returns the node that will be the new source if the association is copied
-
getCopyTargetIsNew
public final boolean getCopyTargetIsNew()
- Returns:
- Returns true if the
copy target nodehas been newly created by the copy process or false if it is a node that existed prior to the copy
-
-