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
ConstructorsConstructorDescriptionCopyContentTreeNodeActionServiceImpl(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService) -
Method Summary
Modifier and TypeMethodDescriptioncopy(EntityExplorerActionSelection selection, CopyContentTreeNodeParams params) Copy aContentTreeNode.getLabel(EntityExplorerActionSelection selection) Get the current label of the selectedContentTreeNodeto copy.
-
Constructor Details
-
CopyContentTreeNodeActionServiceImpl
public CopyContentTreeNodeActionServiceImpl(EntityExplorerActionSelectionService selectionService, ContentTreeService contentTreeService)
-
-
Method Details
-
getLabel
Description copied from interface:CopyContentTreeNodeActionServiceGet the current label of the selectedContentTreeNodeto copy.- Specified by:
getLabelin 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:CopyContentTreeNodeActionServiceCopy aContentTreeNode.- Specified by:
copyin 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.
-