Class OutcomeValidationStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.schedule.intervention.outcome.validationstate.OutcomeValidationStateService
@RestController
@RequestMapping("core/r5/planning/agendas/outcomes/validationstates")
@Resource(logging=true)
public class OutcomeValidationStateService
extends PrivateService
Services to manage outcome validation states.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOOutcomeValidationState> Retrieves the required outcome validation state.org.springframework.http.ResponseEntity<PageResponse<DTOOutcomeValidationState>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOOutcomeValidationStateSearchFilter filter) Retrieve the all stored outcome validation states.
-
Constructor Details
-
OutcomeValidationStateService
public OutcomeValidationStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOOutcomeValidationState>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOOutcomeValidationStateSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored outcome validation states.OutcomeValidationStateSearchEvent- Parameters:
page- the required result pagefilter- the specified filter parameters- 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<DTOOutcomeValidationState> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required outcome validation state.OutcomeValidationStateLoadEvent- Parameters:
id- outcome validation state id- Returns:
- the response containing the required outcome validation state
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-