Class ControllerScambioTurno
java.lang.Object
org.cswteams.ms3.control.scambioTurno.ControllerScambioTurno
- All Implemented Interfaces:
IControllerScambioTurno
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanswerTurnChangeRequest(AnswerTurnChangeRequestDTO answerTurnChangeRequestDTO) getRequestsBySender(@NotNull Long id) getRequestsToSender(@NotNull Long id) voidrequestShiftChange(@NotNull RequestTurnChangeDto requestTurnChangeDto) This method creates a shift change request.
-
Constructor Details
-
ControllerScambioTurno
public ControllerScambioTurno()
-
-
Method Details
-
requestShiftChange
public void requestShiftChange(@NotNull @NotNull RequestTurnChangeDto requestTurnChangeDto) throws ConcreteShiftException Description copied from interface:IControllerScambioTurnoThis method creates a shift change request.- Specified by:
requestShiftChangein interfaceIControllerScambioTurno- Parameters:
requestTurnChangeDto- request dto- Throws:
ConcreteShiftException
-
getRequestsBySender
- Specified by:
getRequestsBySenderin interfaceIControllerScambioTurno
-
getRequestsToSender
- Specified by:
getRequestsToSenderin interfaceIControllerScambioTurno
-
answerTurnChangeRequest
public void answerTurnChangeRequest(AnswerTurnChangeRequestDTO answerTurnChangeRequestDTO) throws ShiftException - Specified by:
answerTurnChangeRequestin interfaceIControllerScambioTurno- Throws:
ShiftException
-
getAvailableUsersForReplacement
public List<MedicalDoctorInfoDTO> getAvailableUsersForReplacement(@NotNull @NotNull GetAvailableUsersForReplacementDTO dto) - Specified by:
getAvailableUsersForReplacementin interfaceIControllerScambioTurno
-