Package org.alfresco.repo.copy
Class CopyDetails
- java.lang.Object
-
- org.alfresco.repo.copy.CopyDetails
-
@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
Constructors Constructor Description CopyDetails(NodeRef sourceNodeRef, QName sourceNodeTypeQName, Set<QName> sourceNodeAspectQNames, Map<QName,Serializable> sourceNodeProperties, NodeRef targetParentNodeRef, NodeRef targetNodeRef, boolean targetNodeIsNew, QName assocTypeQName, QName assocQName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetAssocQName()Get the association path qualified nameQNamegetAssocTypeQName()Get the new association type qualified nameSet<QName>getSourceNodeAspectQNames()Get the aspects associated with the source nodeMap<QName,Serializable>getSourceNodeProperties()Get the properties associated with the source nodeNodeRefgetSourceNodeRef()Get the source nodeQNamegetSourceNodeTypeQName()Get the type of the source nodeNodeRefgetTargetNodeRef()Get the node to which the copy will occur.NodeRefgetTargetParentNodeRef()Get the node under which the new/existing copy will be placedbooleanisTargetNodeIsNew()Determine if thetarget nodewas newly-created for the copy or if it pre-existed.StringtoString()
-
-
-
Method Detail
-
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<QName> getSourceNodeAspectQNames()
Get the aspects associated with the source node
-
getSourceNodeProperties
public final Map<QName,Serializable> 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 thetarget nodewas 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
-
-