Class EventLogicCopyActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.event.impl.actions.EventLogicCopyActionServiceImpl
- All Implemented Interfaces:
EventLogicCopyActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.impl.actions.EventLogicCopyActionService
EventLogicCopyActionService.CopyInformation, EventLogicCopyActionService.EventLogicCopyInformation, EventLogicCopyActionService.RelationDescriptor
-
Constructor Summary
ConstructorDescriptionEventLogicCopyActionServiceImpl
(Context Context, EntityExplorerActionSelectionService entityExplorerActionSelectionService, DefaultDisplayService defaultDisplayService, TextResources textResources, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionused by actiongetRootNode
(EntityExplorerActionSelection selection) Used by actionlogicCopy
(EntityExplorerActionSelection selection, EventLogicCopyActionService.CopyInformation[] copyInformations, Map<String, String> configs) void
setExtensions
(List<EventCopyExtensionFactory> extensions) void
setRelations
(List<EventLogicCopyRelationConfig> relations)
-
Constructor Details
-
EventLogicCopyActionServiceImpl
public EventLogicCopyActionServiceImpl(Context Context, EntityExplorerActionSelectionService entityExplorerActionSelectionService, DefaultDisplayService defaultDisplayService, TextResources textResources, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
logicCopy
public String logicCopy(EntityExplorerActionSelection selection, EventLogicCopyActionService.CopyInformation[] copyInformations, Map<String, String> configs) throws PersistException, RpcExecutionException- Specified by:
logicCopy
in interfaceEventLogicCopyActionService
- Throws:
PersistException
RpcExecutionException
-
getVisibleRelations
public List<EventLogicCopyActionService.RelationDescriptor> getVisibleRelations() throws PersistExceptionDescription copied from interface:EventLogicCopyActionService
Used by action- Specified by:
getVisibleRelations
in interfaceEventLogicCopyActionService
- Returns:
- list of relations to display on event logic copy form to user
- Throws:
PersistException
-
getAdditionalCopyConfig
Description copied from interface:EventLogicCopyActionService
used by action- Specified by:
getAdditionalCopyConfig
in interfaceEventLogicCopyActionService
- Returns:
- list of additional relations to display on event logic copy form to user
-
getRootNode
public TreeNode getRootNode(EntityExplorerActionSelection selection) throws PersistException, RpcExecutionException, URISyntaxException - Specified by:
getRootNode
in interfaceEventLogicCopyActionService
- Throws:
PersistException
RpcExecutionException
URISyntaxException
-
setRelations
-
setExtensions
-