Class CopyBehaviourCallback.CopyAssociationDetails

java.lang.Object
org.alfresco.repo.copy.CopyBehaviourCallback.CopyAssociationDetails
Enclosing interface:
CopyBehaviourCallback

public static final class CopyBehaviourCallback.CopyAssociationDetails extends Object
A simple bean class to convey information to the callback methods dealing with copying of associations.
Since:
3.3SP3
Author:
Derek Hulley
See Also:
  • Constructor Details

    • CopyAssociationDetails

      public CopyAssociationDetails(AssociationRef assocRef, NodeRef copyTarget, boolean copyTargetIsNew)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAssocRef

      public final AssociationRef getAssocRef()
      Returns:
      Returns the association being examined
    • getCopyTarget

      public final 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 node has been newly created by the copy process or false if it is a node that existed prior to the copy