Package org.alfresco.repo.copy
Class CopyDetails
java.lang.Object
org.alfresco.repo.copy.CopyDetails
Simple Java bean that contains the details of a copy process underway.
- Since:
- 3.2
- Author:
- Derek Hulley
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal QNameGet the association path qualified namefinal QNameGet the new association type qualified nameGet the aspects associated with the source nodefinal Map<QName,Serializable> Get the properties associated with the source nodefinal NodeRefGet the source nodefinal QNameGet the type of the source nodefinal NodeRefGet the node to which the copy will occur.final NodeRefGet the node under which the new/existing copy will be placedfinal booleanDetermine if thetarget nodewas newly-created for the copy or if it pre-existed.toString()
-
Constructor Details
-
CopyDetails
-
-
Method Details
-
toString
-
getSourceNodeRef
Get the source node -
getSourceNodeTypeQName
Get the type of the source node -
getSourceNodeAspectQNames
Get the aspects associated with the source node -
getSourceNodeProperties
Get the properties associated with the source node -
getTargetParentNodeRef
Get the node under which the new/existing copy will be placed -
getTargetNodeRef
Get the node to which the copy will occur. The node may not yet exist. -
isTargetNodeIsNew
public final boolean isTargetNodeIsNew()Determine if thetarget nodewas newly-created for the copy or if it pre-existed.- Returns:
- true if the node was created by the copy
-
getAssocTypeQName
Get the new association type qualified name -
getAssocQName
Get the association path qualified name
-