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