Class BundleSkillDivisionService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.bundler.rs2.bundle.skilldivision.BundleSkillDivisionService
@RestController("BundleSkillDivisionService-legacy")
@RequestMapping("bundler/r2/bundles/{id:[0-9]+}/skillDivisions")
@Resource(logging=true)
public class BundleSkillDivisionService
extends PrivateService
Service to manage Bundle Skill Division.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOBundleSkillDivision> Retrieves the required bundle skill division.org.springframework.http.ResponseEntity<PageResponse<DTOBundleSkillDivision>> getCollection(Long id, @NotNull @Valid Page page, @Valid @NotNull DTOBundleSkillDivisionSearchFilter filter) Retrieves all the stored bundle skill divisions.
-
Constructor Details
-
BundleSkillDivisionService
public BundleSkillDivisionService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOBundleSkillDivision>> getCollection(@PathVariable("id") Long id, @RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOBundleSkillDivisionSearchFilter filter) throws DAValidateException, DAException Retrieves all the stored bundle skill divisions.BundleSkillDivisionSearchEvent- Parameters:
id- the idpage- the pagefilter- theDTOBundleSkillDivisionSearchFilter- Returns:
- the response containing the collection
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{bundleSkillDivisionId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOBundleSkillDivision> get(@PathVariable("id") Long id, @PathVariable("bundleSkillDivisionId") Long skillDivisionId) throws DAValidateException, DAException Retrieves the required bundle skill division.BundleSkillDivisionLoadEvent- Parameters:
id- the idskillDivisionId- the skill division id- Returns:
- the response containing the required DTO bundle skill division
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-