Package org.alfresco.repo.copy
Class AbstractBaseCopyService.AssociationCopyInfo
- java.lang.Object
-
- org.alfresco.repo.copy.AbstractBaseCopyService.AssociationCopyInfo
-
- Enclosing class:
- AbstractBaseCopyService
public static class AbstractBaseCopyService.AssociationCopyInfo extends Object
Simple container for storing data required to copy a node, including the parent association that will be copied along with the new path part of the association that will be created by the copy. This container is immutable.- Since:
- 4.1.5
- Author:
- Dmitry Velichkevich
- See Also:
AbstractBaseCopyService.getAssociationCopyInfo(NodeService, NodeRef, NodeRef, String, boolean)
-
-
Constructor Summary
Constructors Constructor Description AssociationCopyInfo(QName targetAssocQName, ChildAssociationRef sourceParentAssoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildAssociationRefgetSourceParentAssoc()Get the association that will be copied.QNamegetTargetAssocQName()Get the path part of the association that should be created for the copied node
-
-
-
Constructor Detail
-
AssociationCopyInfo
public AssociationCopyInfo(QName targetAssocQName, ChildAssociationRef sourceParentAssoc)
-
-
Method Detail
-
getTargetAssocQName
public QName getTargetAssocQName()
Get the path part of the association that should be created for the copied node
-
getSourceParentAssoc
public ChildAssociationRef getSourceParentAssoc()
Get the association that will be copied.
-
-