org.alfresco.repo.copy
Class CopyBehaviourCallback.CopyAssociationDetails

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

public static final class CopyBehaviourCallback.CopyAssociationDetails
extends java.lang.Object

A simple bean class to convey information to the callback methods dealing with copying of associations.

Since:
3.3SP3
See Also:
CopyBehaviourCallback.getAssociationCopyAction(QName, CopyDetails, CopyAssociationDetails)

Constructor Summary
CopyBehaviourCallback.CopyAssociationDetails(org.alfresco.service.cmr.repository.AssociationRef assocRef, org.alfresco.service.cmr.repository.NodeRef copyTarget, boolean copyTargetIsNew)
           
 
Method Summary
 org.alfresco.service.cmr.repository.AssociationRef getAssocRef()
           
 org.alfresco.service.cmr.repository.NodeRef getCopyTarget()
           
 boolean getCopyTargetIsNew()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyBehaviourCallback.CopyAssociationDetails

public CopyBehaviourCallback.CopyAssociationDetails(org.alfresco.service.cmr.repository.AssociationRef assocRef,
                                                    org.alfresco.service.cmr.repository.NodeRef copyTarget,
                                                    boolean copyTargetIsNew)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.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 node has been newly created by the copy process or false if it is a node that existed prior to the copy


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.