Class ResourceShiftExceptionRequestService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.workcalendar.resourceshiftexceptionrequest.ResourceShiftExceptionRequestService
@RestController
@RequestMapping("core/r5/workcalendars/resourceshiftexceptionrequests")
@Resource(logging=true)
public class ResourceShiftExceptionRequestService
extends PrivateService
Services to manage resource shift exception requests.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOResourceShiftExceptionRequest> Retrieves the required work calendar work shift request.org.springframework.http.ResponseEntity<PageResponse<DTOResourceShiftExceptionRequest>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOResourceShiftExceptionRequestSearchFilter filter) Retrieve the all stored work calendar work shift requests.org.springframework.http.ResponseEntity<DTOIdentifier<Long>> Create a new resource shift exception requestResourceShiftExceptionRequestInsertEvent
-
Constructor Details
-
ResourceShiftExceptionRequestService
public ResourceShiftExceptionRequestService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOResourceShiftExceptionRequest>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOResourceShiftExceptionRequestSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored work calendar work shift requests.ResourceShiftExceptionRequestSearchEvent- Parameters:
page- the required result pagefilter- the specifiedDTOResourceShiftExceptionRequestSearchFilter- Returns:
- the response containing the current result page
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOResourceShiftExceptionRequest> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required work calendar work shift request.ResourceShiftExceptionRequestLoadEvent- Parameters:
id- work calendar work shift request id- Returns:
- the response containing the required work calendar work shift request
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTOResourceShiftExceptionRequestInsert input) throws DAValidateException, DAException Create a new resource shift exception requestResourceShiftExceptionRequestInsertEvent- Parameters:
input- theDTOResourceShiftExceptionRequestInsert- Returns:
- a standard response containing the new resource shift exception request id
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-