Interface WageTaskProvider
- All Known Implementing Classes:
DefaultWageTaskProvider
public interface WageTaskProvider
Provides the
PersistTask
and WageValueProvider
which will be used to create a wage-
Method Summary
Modifier and TypeMethodDescriptiongetValueProvider
(EvaluateWageScaleService evaluateWageScaleService, Entity reservationBooking) Instantiate aWageValueProvider
for the given Reservation_lecturer_booking andEvaluateWageScaleService
The instantiated WageValueProvider#getIncomePerHour uses the EvaluationWageScaleService#getIncomePerHour to override the value in field income_per_hour on the Reservation_lecturer_booking for evaluation of the salary per lessongetValueProvider
(Entity reservationLecturerBooking) Instantiate a WageValueProvider for the given Reservation_lecturer_booking
-
Method Details
-
getTask
-
getValueProvider
Instantiate a WageValueProvider for the given Reservation_lecturer_booking- Parameters:
reservationLecturerBooking
- a Reservation_lecturer_booking entity- Returns:
- WageValueProvider for the given Reservation_lecturer_booking
-
getValueProvider
WageValueProvider getValueProvider(EvaluateWageScaleService evaluateWageScaleService, Entity reservationBooking) Instantiate aWageValueProvider
for the given Reservation_lecturer_booking andEvaluateWageScaleService
The instantiated WageValueProvider#getIncomePerHour uses the EvaluationWageScaleService#getIncomePerHour to override the value in field income_per_hour on the Reservation_lecturer_booking for evaluation of the salary per lesson- Parameters:
reservationBooking
- a Reservation_lecturer_booking entity- Returns:
- WageValueProvider for the given Reservation_lecturer_booking containing a EvaluationWageScaleService
-