Interface EvaluateWageScaleService

All Known Implementing Classes:
EvaluateWageScaleServiceImpl

public interface EvaluateWageScaleService
  • Method Summary

    Modifier and Type
    Method
    Description
    getIncomePerHour(Entity reservationLecturerBooking)
    Evaluates the salary for one lesson for a given Reservation_lecturer_booking Finds for a given Reservation_lecturer_booking the Wage_scale with the highest value in field scale_priority, that fulfills following criteria, that all related Wage_scale_conditions match for the Reservation_lecturer_booking.
  • Method Details

    • getIncomePerHour

      Optional<BigDecimal> getIncomePerHour(Entity reservationLecturerBooking)
      Evaluates the salary for one lesson for a given Reservation_lecturer_booking Finds for a given Reservation_lecturer_booking the Wage_scale with the highest value in field scale_priority, that fulfills following criteria, that all related Wage_scale_conditions match for the Reservation_lecturer_booking. Then returns the value in field wage_rate of the found Wage_scale.
      Parameters:
      reservationLecturerBooking - a Reservation_lecturer_booking entity
      Returns:
      the value in field wage_rate of the Wage_scale that matches best for param reservationLecturerBooking