Class BundleStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.bundler.rs2.bundle.state.BundleStateService
@RestController
@RequestMapping("bundler/r2/bundles/states")
@Resource(logging=true)
public class BundleStateService
extends PrivateService
Service to manage Bundle State.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOBundleState> Retrieves the required bundle state.org.springframework.http.ResponseEntity<PageResponse<DTOBundleState>> getCollection(@NotNull @Valid Page page, @NotNull @Valid DTOBundleStateSearchFilter filter) Retrieves all the stored bundle states.
-
Constructor Details
-
BundleStateService
public BundleStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOBundleState>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @NotNull @Valid @NotNull @Valid DTOBundleStateSearchFilter filter) throws DAValidateException, DAException Retrieves all the stored bundle states.BundleStatusSearchEvent- Parameters:
page- the pagefilter- theDTOBundleStateSearchFilter- 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<DTOBundleState> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required bundle state.BundleStatusLoadEvent- Parameters:
id- the id- Returns:
- the response containing the required DTO bundle state
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-