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