Class WageSimulationActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.salary.impl.action.WageSimulationActionServiceImpl
- All Implemented Interfaces:
WageSimulationActionService
-
Constructor Summary
ConstructorDescriptionWageSimulationActionServiceImpl
(EntityExplorerActionSelectionService selectionService, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
simulate
(EntityExplorerActionSelection selection) Calculates the wages of each reservation lecturer booking linked to the selected events (relLecturer_booking.relEvent) and sets the calculated wage values with the current timestamp on the fields `wage_simulated` and `date_simulated` of the reservation lecturer booking.
-
Constructor Details
-
WageSimulationActionServiceImpl
public WageSimulationActionServiceImpl(EntityExplorerActionSelectionService selectionService, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
simulate
Description copied from interface:WageSimulationActionService
Calculates the wages of each reservation lecturer booking linked to the selected events (relLecturer_booking.relEvent) and sets the calculated wage values with the current timestamp on the fields `wage_simulated` and `date_simulated` of the reservation lecturer booking. This action does not create and persist any wages.- Specified by:
simulate
in interfaceWageSimulationActionService
- Parameters:
selection
- the selected event entities.
-