Class ImmediateSchedulingProcessingService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.scheduling.rs1.immediatescheduling.processing.history.ImmediateSchedulingProcessingService
@RestController
@RequestMapping("scheduling/r1/emergency-response-processings")
@Resource(logging=true)
public class ImmediateSchedulingProcessingService
extends PrivateService
Service for manage immediatescheduling
- Since:
- 22.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOImmediateSchedulingProcessing> get(Long emergencyResponseProcessingId, String language, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTOImmediateSchedulingProcessing>> getCollection(@Valid Page page, Collection<String> fields, String order, String language, @Valid @NotNull DTOImmediateSchedulingProcessingFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long emergencyResponseProcessingId, @Valid DTOImmediateSchedulingProcessingUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
ImmediateSchedulingProcessingService
public ImmediateSchedulingProcessingService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOImmediateSchedulingProcessing>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @RequestParam(required=false,name="_language",defaultValue="user") String language, @Valid @NotNull @Valid @NotNull DTOImmediateSchedulingProcessingFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{emergencyResponseProcessingId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOImmediateSchedulingProcessing> get(@PathVariable("emergencyResponseProcessingId") Long emergencyResponseProcessingId, @RequestParam(required=false,name="_language",defaultValue="user") String language, @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 DTOImmediateSchedulingProcessingInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{emergencyResponseProcessingId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("emergencyResponseProcessingId") Long emergencyResponseProcessingId, @Valid @RequestBody @Valid DTOImmediateSchedulingProcessingUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-