Class WorkLoadService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.workorders.rs1.workload.WorkLoadService
@RestController
@RequestMapping("work-orders/r1/workload-distributions")
@Resource(logging=true)
public class WorkLoadService
extends PrivateService
Service for manage work load
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PageResponse<DTOWorkLoad>> getWorkLoadDistribution(@Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTOWorkLoadFilter filter) Returns the collection of all the stored work loads by calling theWorkLoadSearchEvent.
-
Constructor Details
-
WorkLoadService
public WorkLoadService()
-
-
Method Details
-
getWorkLoadDistribution
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWorkLoad>> getWorkLoadDistribution(@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 DTOWorkLoadFilter filter) throws DAValidateException, DAException Returns the collection of all the stored work loads by calling theWorkLoadSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfields- the collection of fields the response will containorder- the ordering fieldfilter- theDTOWorkLoadFilter- Returns:
- the collection of
DTOWorkLoad - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-