Interface IShiftController

All Known Implementing Classes:
ShiftController

public interface IShiftController
This interface is responsible for managing at business level the shift definitions created by a configurator
  • Method Details

    • getAllShifts

      List<ShiftDTOOut> getAllShifts()
      Retrieves all the shifts
      Returns:
      A list of DTOs representing the shifts
    • getShiftsOfService

      List<ShiftDTOOut> getShiftsOfService(ShiftServiceNameDTOIn serviceName)
      Retrieves all the shifts relative to the service label
      Returns:
      A list of DTOs representing the shifts searched
    • createShift

      ShiftDTOOut createShift(ShiftDTOIn shift)
      Creates a new shift
      Parameters:
      shift - A DTO with all the necessary information for creating the shift
      Returns:
      A DTO representing the shift