org.alfresco.repo.copy
Class CopyDetails

java.lang.Object
  extended by org.alfresco.repo.copy.CopyDetails

public class CopyDetails
extends java.lang.Object

Simple Java bean that contains the details of a copy process underway.

Since:
3.2
See Also:
CopyServicePolicies

Constructor Summary
CopyDetails(NodeRef sourceNodeRef, QName sourceNodeTypeQName, java.util.Set sourceNodeAspectQNames, java.util.Map sourceNodeProperties, NodeRef targetParentNodeRef, NodeRef targetNodeRef, boolean targetNodeIsNew, QName assocTypeQName, QName assocQName)
           
 
Method Summary
 QName getAssocQName()
          Get the association path qualified name
 QName getAssocTypeQName()
          Get the new association type qualified name
 java.util.Set getSourceNodeAspectQNames()
          Get the aspects associated with the source node
 java.util.Map getSourceNodeProperties()
          Get the properties associated with the source node
 NodeRef getSourceNodeRef()
          Get the source node
 QName getSourceNodeTypeQName()
          Get the type of the source node
 NodeRef getTargetNodeRef()
          Get the node to which the copy will occur.
 NodeRef getTargetParentNodeRef()
          Get the node under which the new/existing copy will be placed
 boolean isTargetNodeIsNew()
          Determine if the target node was newly-created for the copy or if it pre-existed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyDetails

public CopyDetails(NodeRef sourceNodeRef,
                   QName sourceNodeTypeQName,
                   java.util.Set sourceNodeAspectQNames,
                   java.util.Map sourceNodeProperties,
                   NodeRef targetParentNodeRef,
                   NodeRef targetNodeRef,
                   boolean targetNodeIsNew,
                   QName assocTypeQName,
                   QName assocQName)
Method Detail

toString

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

getSourceNodeRef

public final NodeRef getSourceNodeRef()
Get the source node


getSourceNodeTypeQName

public final QName getSourceNodeTypeQName()
Get the type of the source node


getSourceNodeAspectQNames

public final java.util.Set getSourceNodeAspectQNames()
Get the aspects associated with the source node


getSourceNodeProperties

public final java.util.Map getSourceNodeProperties()
Get the properties associated with the source node


getTargetParentNodeRef

public final NodeRef getTargetParentNodeRef()
Get the node under which the new/existing copy will be placed


getTargetNodeRef

public final NodeRef getTargetNodeRef()
Get the node to which the copy will occur. The node may not yet exist.


isTargetNodeIsNew

public final boolean isTargetNodeIsNew()
Determine if the target node was newly-created for the copy or if it pre-existed.

Returns:
true if the node was created by the copy

getAssocTypeQName

public final QName getAssocTypeQName()
Get the new association type qualified name


getAssocQName

public final QName getAssocQName()
Get the association path qualified name



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