Class BundleOperationStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.bundler.rs2.bundle.operation.states.BundleOperationStateService
@RestController
@RequestMapping("bundler/r2/bundles/operations/states")
@Resource(logging=true)
public class BundleOperationStateService
extends PrivateService
Service to manage Bundle Operation State.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOBundleOperationState> Retrieve the bundle operation state.org.springframework.http.ResponseEntity<PageResponse<DTOBundleOperationState>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOBundleOperationStateSearchFilter filter) Retrieve the all stored bundle operation states.
-
Constructor Details
-
BundleOperationStateService
public BundleOperationStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOBundleOperationState>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOBundleOperationStateSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored bundle operation states.BundleOperationStatusSearchEvent- Parameters:
page- the pagefilter- theDTOBundleOperationStateSearchFilter- Returns:
- the response containing the collection
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOBundleOperationState> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieve the bundle operation state.BundleOperationStatusLoadEvent- Parameters:
id- the id- Returns:
- the response containing the required DTO bundle operation state
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-