Class CopyBehaviourCallback.CopyChildAssociationDetails

    • Constructor Summary

      Constructors 
      Constructor Description
      CopyChildAssociationDetails​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, org.alfresco.service.cmr.repository.NodeRef copyTarget, boolean copyTargetIsNew, boolean copyChildren)  
    • Constructor Detail

      • CopyChildAssociationDetails

        public CopyChildAssociationDetails​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                                           org.alfresco.service.cmr.repository.NodeRef copyTarget,
                                           boolean copyTargetIsNew,
                                           boolean copyChildren)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getChildAssocRef

        public final org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef()
        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 parent if the association is copied
      • getCopyTargetIsNew

        public final boolean getCopyTargetIsNew()
        Returns:
        Returns true if the target node has 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.