Class ParallelEventActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.event.impl.actions.parallelevent.ParallelEventActionServiceImpl
- All Implemented Interfaces:
ParallelEventActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ParallelEventActionService
ParallelEventActionService.ParallelEventBean -
Constructor Summary
ConstructorsConstructorDescriptionParallelEventActionServiceImpl(RebindService rebindService, EntityExplorerActionSelectionService selectionService, EntityDefaultValueService defaultValueService, CommandExecutor executor, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateParallelEvent(EntityExplorerActionSelection selection, RebindValue[] rebindValues, ParallelEventActionService.ParallelEventBean copyData) creates a new event from rebindValues and relates the selection to it via relParallel_event the parent events of the selection are related via relParallel_parentloadParallelEvents(EntityExplorerActionSelection selection) voidrelateParallelEvent(EntityExplorerActionSelection selection, String parallelEventKey, ParallelEventActionService.ParallelEventBean copyData) relates the selection to a selected event via relParallel_event the parent events of the selection are related via relParallel_parentvoidremoveParallelEvent(EntityExplorerActionSelection selection, List<String> parallelEventsToRemove) Deprecated.
-
Constructor Details
-
ParallelEventActionServiceImpl
public ParallelEventActionServiceImpl(RebindService rebindService, EntityExplorerActionSelectionService selectionService, EntityDefaultValueService defaultValueService, CommandExecutor executor, DefaultDisplayService defaultDisplayService)
-
-
Method Details
-
createParallelEvent
public void createParallelEvent(EntityExplorerActionSelection selection, RebindValue[] rebindValues, ParallelEventActionService.ParallelEventBean copyData) Description copied from interface:ParallelEventActionServicecreates a new event from rebindValues and relates the selection to it via relParallel_event the parent events of the selection are related via relParallel_parentif user has specified so, registrations and / or lecturer bookings with status booked or registered will be copied to the new event with a new status registrations and lecturers are only copied of none with the same user already exists
- Specified by:
createParallelEventin interfaceParallelEventActionService- Parameters:
selection- the selected eventsrebindValues- the data for the new eventcopyData- bean that contains whether to copy registrations or lecturer bookings and their status
-
relateParallelEvent
public void relateParallelEvent(EntityExplorerActionSelection selection, String parallelEventKey, ParallelEventActionService.ParallelEventBean copyData) Description copied from interface:ParallelEventActionServicerelates the selection to a selected event via relParallel_event the parent events of the selection are related via relParallel_parentif user has specified so, registrations and / or lecturer bookings with status booked or registered will be copied to the selected event with a new status registrations and lecturers are only copied of none with the same user already exists
- Specified by:
relateParallelEventin interfaceParallelEventActionService- Parameters:
selection- the selected eventsparallelEventKey- the key of the selected event as a stringcopyData- bean that contains whether to copy registrations or lecturer bookings and their status
-
loadParallelEvents
- Specified by:
loadParallelEventsin interfaceParallelEventActionService
-
removeParallelEvent
@Deprecated public void removeParallelEvent(EntityExplorerActionSelection selection, List<String> parallelEventsToRemove) Deprecated.- Specified by:
removeParallelEventin interfaceParallelEventActionService
-