Class ReportingLogicCopyActionServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.action.logiccopy.ReportingLogicCopyActionServiceImpl
- All Implemented Interfaces:
ReportingLogicCopyActionService
public class ReportingLogicCopyActionServiceImpl
extends Object
implements ReportingLogicCopyActionService
-
Constructor Summary
ConstructorDescriptionReportingLogicCopyActionServiceImpl
(EntityExplorerActionSelectionService selectionService, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(EntityExplorerActionSelection selection, ReportingLogicCopyConfig[] configs) run logic copy for Report or Output_templateget available configs to use inReportingLogicCopyActionService.copy(EntityExplorerActionSelection, ReportingLogicCopyConfig[])
with this selectionvoid
setCopyConfigs
(List<ReportingLogicCopyConfig> copyConfigs) void
setCopyTasks
(List<ReportingLogicCopyTask> copyTasks)
-
Constructor Details
-
ReportingLogicCopyActionServiceImpl
public ReportingLogicCopyActionServiceImpl(EntityExplorerActionSelectionService selectionService, Context context)
-
-
Method Details
-
getAvailableCopyConfigs
public List<ReportingLogicCopyConfig> getAvailableCopyConfigs(EntityExplorerActionSelection selection) Description copied from interface:ReportingLogicCopyActionService
get available configs to use inReportingLogicCopyActionService.copy(EntityExplorerActionSelection, ReportingLogicCopyConfig[])
with this selection- Specified by:
getAvailableCopyConfigs
in interfaceReportingLogicCopyActionService
- Parameters:
selection
- the selection- Returns:
- the available configs
-
copy
Description copied from interface:ReportingLogicCopyActionService
run logic copy for Report or Output_template- Specified by:
copy
in interfaceReportingLogicCopyActionService
- Parameters:
selection
- the selected entityconfigs
- the configs to run, only active configs will be used- Returns:
- key of the copied entity
-
setCopyConfigs
-
setCopyTasks
-