Class AgendaService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.agenda.rs1.AgendaService
@RestController
@RequestMapping("agenda")
@Resource(logging=true)
public class AgendaService
extends PrivateService
Service to manage bookings
- Since:
- 17.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOAgendaCancelDateResponse> Cancel a booking by calling theAgendaCancelDateEventorg.springframework.http.ResponseEntity<DTOAgendaConfirmDateResponse> Confirm a booking by calling theAgendaConfirmDateEventorg.springframework.http.ResponseEntity<DTOAgendaFirstDateResponse> First date booking by calling theAgendaFirstDateEventorg.springframework.http.ResponseEntity<DTOAgendaFurtherDateResponse> Further date booking by calling theAgendaFurtherDateEvent
-
Constructor Details
-
AgendaService
public AgendaService()
-
-
Method Details
-
cancelDate
@PostMapping(value="/r1/cancelDate", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOAgendaCancelDateResponse> cancelDate(@RequestBody @Valid @Valid DTOAgendaCancelDateRequest dto) throws DAException, DAValidateException Cancel a booking by calling theAgendaCancelDateEvent- Parameters:
dto- theDTOAgendaCancelDateRequest- Returns:
DTOAgendaCancelDateResponse- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
confirmDate
@PostMapping(value="/r1/confirmDate", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOAgendaConfirmDateResponse> confirmDate(@RequestBody @Valid @Valid DTOAgendaConfirmDateRequest dto) throws DAException, DAValidateException Confirm a booking by calling theAgendaConfirmDateEvent- Parameters:
dto- theDTOAgendaConfirmDateRequest- Returns:
DTOAgendaConfirmDateResponse- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
firstDate
@PostMapping(value="/r1/firstDate", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOAgendaFirstDateResponse> firstDate(@RequestBody @Valid @Valid DTOAgendaFirstDateRequest dto) throws DAException, DAValidateException First date booking by calling theAgendaFirstDateEvent- Parameters:
dto- theDTOAgendaFirstDateRequest- Returns:
DTOAgendaFirstDateResponse- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
furtherDate
@PostMapping(value="/r1/furtherDate", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOAgendaFurtherDateResponse> furtherDate(@RequestBody @Valid @Valid DTOAgendaFurtherDateRequest dto) throws DAException, DAValidateException Further date booking by calling theAgendaFurtherDateEvent- Parameters:
dto- theDTOAgendaFurtherDateRequest- Returns:
DTOAgendaFurtherDateResponse- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-