Class ImmediateSchedulingCalendarService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.scheduling.rs1.immediatescheduling.processing.calendar.ImmediateSchedulingCalendarService
@RestController
@RequestMapping("scheduling/r1/emergency-response-calendars")
@Resource(logging=true)
public class ImmediateSchedulingCalendarService
extends PrivateService
Service for manage immediatescheduling
- Since:
- 22.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOImmediateSchedulingCalendar> get(Long emergencyResponseCalendarId, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTOImmediateSchedulingCalendar>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTOImmediateSchedulingCalendarFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long emergencyResponseCalendarId, @Valid DTOImmediateSchedulingCalendarUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
ImmediateSchedulingCalendarService
public ImmediateSchedulingCalendarService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOImmediateSchedulingCalendar>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTOImmediateSchedulingCalendarFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{emergencyResponseCalendarId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOImmediateSchedulingCalendar> get(@PathVariable("emergencyResponseCalendarId") Long emergencyResponseCalendarId, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTOImmediateSchedulingCalendarInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{emergencyResponseCalendarId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("emergencyResponseCalendarId") Long emergencyResponseCalendarId, @Valid @RequestBody @Valid DTOImmediateSchedulingCalendarUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-