Package org.alfresco.repo.copy
Class CopyDetails
- java.lang.Object
-
- org.alfresco.repo.copy.CopyDetails
-
@AlfrescoPublicApi public class CopyDetails extends java.lang.ObjectSimple 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(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.namespace.QName sourceNodeTypeQName, java.util.Set<org.alfresco.service.namespace.QName> sourceNodeAspectQNames, java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> sourceNodeProperties, org.alfresco.service.cmr.repository.NodeRef targetParentNodeRef, org.alfresco.service.cmr.repository.NodeRef targetNodeRef, boolean targetNodeIsNew, org.alfresco.service.namespace.QName assocTypeQName, org.alfresco.service.namespace.QName assocQName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.namespace.QNamegetAssocQName()Get the association path qualified nameorg.alfresco.service.namespace.QNamegetAssocTypeQName()Get the new association type qualified namejava.util.Set<org.alfresco.service.namespace.QName>getSourceNodeAspectQNames()Get the aspects associated with the source nodejava.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable>getSourceNodeProperties()Get the properties associated with the source nodeorg.alfresco.service.cmr.repository.NodeRefgetSourceNodeRef()Get the source nodeorg.alfresco.service.namespace.QNamegetSourceNodeTypeQName()Get the type of the source nodeorg.alfresco.service.cmr.repository.NodeRefgetTargetNodeRef()Get the node to which the copy will occur.org.alfresco.service.cmr.repository.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.java.lang.StringtoString()
-
-
-
Constructor Detail
-
CopyDetails
public CopyDetails(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.namespace.QName sourceNodeTypeQName, java.util.Set<org.alfresco.service.namespace.QName> sourceNodeAspectQNames, java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> sourceNodeProperties, org.alfresco.service.cmr.repository.NodeRef targetParentNodeRef, org.alfresco.service.cmr.repository.NodeRef targetNodeRef, boolean targetNodeIsNew, org.alfresco.service.namespace.QName assocTypeQName, org.alfresco.service.namespace.QName assocQName)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getSourceNodeRef
public final org.alfresco.service.cmr.repository.NodeRef getSourceNodeRef()
Get the source node
-
getSourceNodeTypeQName
public final org.alfresco.service.namespace.QName getSourceNodeTypeQName()
Get the type of the source node
-
getSourceNodeAspectQNames
public final java.util.Set<org.alfresco.service.namespace.QName> getSourceNodeAspectQNames()
Get the aspects associated with the source node
-
getSourceNodeProperties
public final java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> getSourceNodeProperties()
Get the properties associated with the source node
-
getTargetParentNodeRef
public final org.alfresco.service.cmr.repository.NodeRef getTargetParentNodeRef()
Get the node under which the new/existing copy will be placed
-
getTargetNodeRef
public final org.alfresco.service.cmr.repository.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 org.alfresco.service.namespace.QName getAssocTypeQName()
Get the new association type qualified name
-
getAssocQName
public final org.alfresco.service.namespace.QName getAssocQName()
Get the association path qualified name
-
-