Class ResourceInterventionService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.execution.rs1.resourceintervention.ResourceInterventionService
@RestController
@RequestMapping("work-orders/execution/r1/resources-interventions")
@Resource(logging=true)
public class ResourceInterventionService
extends PrivateService
Service for manage intervention.
- Since:
- 18.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PageResponse<DTOResourceInterventionResponse>> Returns the collection of interventions ids assigned to resources by calling theResourceInterventionSearchEvent.
-
Constructor Details
-
ResourceInterventionService
public ResourceInterventionService()
-
-
Method Details
-
getInterventionAssignedResources
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOResourceInterventionResponse>> getInterventionAssignedResources(@RequestParam("_page") @Valid @Valid Page page, @NotNull @Valid @NotNull @Valid DTOResourceIntervention dto) throws DAValidateException, DAException Returns the collection of interventions ids assigned to resources by calling theResourceInterventionSearchEvent.- Parameters:
dto- theDTOResourceIntervention- Returns:
- the response containing the collection of the intervention ids
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-