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