Package ch.tocco.nice2.dms.impl.action
Class CopyContentTreeNodeActionServiceImpl
java.lang.Object
ch.tocco.nice2.dms.impl.action.CopyContentTreeNodeActionServiceImpl
- All Implemented Interfaces:
CopyContentTreeNodeActionService
public class CopyContentTreeNodeActionServiceImpl
extends Object
implements CopyContentTreeNodeActionService
-
Constructor Summary
ConstructorDescriptionCopyContentTreeNodeActionServiceImpl
(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(EntityExplorerActionSelection selection, CopyContentTreeNodeParams params) Copy aContentTreeNode
.getLabel
(EntityExplorerActionSelection selection) Get the current label of the selectedContentTreeNode
to copy.
-
Constructor Details
-
CopyContentTreeNodeActionServiceImpl
public CopyContentTreeNodeActionServiceImpl(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService)
-
-
Method Details
-
getLabel
Description copied from interface:CopyContentTreeNodeActionService
Get the current label of the selectedContentTreeNode
to copy.- Specified by:
getLabel
in interfaceCopyContentTreeNodeActionService
- Parameters:
selection
- The selection of the node to copy. Needs to be a single selection.- Returns:
- the current label of the node to copy.
-
copy
Description copied from interface:CopyContentTreeNodeActionService
Copy aContentTreeNode
.- Specified by:
copy
in interfaceCopyContentTreeNodeActionService
- Parameters:
selection
- The selection of the node to copy. Needs to be a single selection.params
- The copy params.- Returns:
- the primary key of the copy.
-