Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.copy
Class CopyDetails
java.lang.Object
  org.alfresco.repo.copy.CopyDetails

@org.alfresco.api.AlfrescoPublicApi
public class CopyDetails
extends Object
Simple Java bean that contains the details of a copy process underway.
Since:
3.2
Author:
Derek Hulley
See Also:
CopyServicePolicies

Constructor Summary
CopyDetails(NodeRef sourceNodeRef, QName sourceNodeTypeQName, Set<QName> sourceNodeAspectQNames, Map<QName,Serializable> sourceNodeProperties, NodeRef targetParentNodeRef, NodeRef targetNodeRef, boolean targetNodeIsNew, QName assocTypeQName, QName assocQName)
Method Summary
getAssocQName()
          Get the association path qualified name
getAssocTypeQName()
          Get the new association type qualified name
getSourceNodeAspectQNames()
          Get the aspects associated with the source node
getSourceNodeProperties()
          Get the properties associated with the source node
getSourceNodeRef()
          Get the source node
getSourceNodeTypeQName()
          Get the type of the source node
getTargetNodeRef()
          Get the node to which the copy will occur.
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.
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,
                   Set<QName> sourceNodeAspectQNames,
                   Map<QName,Serializable> sourceNodeProperties,
                   NodeRef targetParentNodeRef,
                   NodeRef targetNodeRef,
                   boolean targetNodeIsNew,
                   QName assocTypeQName,
                   QName assocQName)
Method Detail
toString
public String toString()
Overrides:
toString in class 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 Set<QNamegetSourceNodeAspectQNames()
Get the aspects associated with the source node

getSourceNodeProperties
public final Map<QName,SerializablegetSourceNodeProperties()
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

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.