Class WorkOrderOperationResourceService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.execution.rs1.workorderoperationresource.WorkOrderOperationResourceService
@RestController
@RequestMapping("work-orders/execution/r1/interventions/total-accounted-hours")
@Resource(logging=true)
public class WorkOrderOperationResourceService
extends PrivateService
Service for manage work order operation resource
- Since:
- 18.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PageResponse<DTOWorkOrderOperationResource>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTOWorkOrderOperationResourceFilter filter) Returns the collection of all the stored total accounted hours for resources and work order operation by calling theWorkOrderOperationResourceSearchEvent.
-
Constructor Details
-
WorkOrderOperationResourceService
public WorkOrderOperationResourceService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWorkOrderOperationResource>> 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 DTOWorkOrderOperationResourceFilter filter) throws DAValidateException, DAException Returns the collection of all the stored total accounted hours for resources and work order operation by calling theWorkOrderOperationResourceSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfields- the collection of fields that will be contained in the responseorder- the ordering fieldfilter- theDTOWorkOrderOperationResource- Returns:
- the collection of total accounted hours for resources and work order operation
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-