Class OrchestratorResourceSkillService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.orchestrator.workforce.rs1.resource.skill.OrchestratorResourceSkillService
@RestController
@RequestMapping("workforce/resources/r1/resources/{resourceId:[0-9]+}/skills")
@Resource(logging=true)
public class OrchestratorResourceSkillService
extends PrivateService
Service for manage resource skill
- Since:
- 16.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<DTOResourceSkill> get(Long resourceId, Long skillId, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTOResourceSkill>> getCollection(Long resourceId, @Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTOResourceSkillFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long resourceId, Long skillId, @Valid DTOResourceSkillUpdate dto) org.springframework.http.ResponseEntity<Void> post(Long resourceId, @Valid DTOResourceSkillInsert dto)
-
Constructor Details
-
OrchestratorResourceSkillService
public OrchestratorResourceSkillService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOResourceSkill>> getCollection(@PathVariable("resourceId") Long resourceId, @RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTOResourceSkillFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{skillId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOResourceSkill> get(@PathVariable("resourceId") Long resourceId, @PathVariable("skillId") Long skillId, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
post
@PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> post(@PathVariable("resourceId") Long resourceId, @Valid @RequestBody @Valid DTOResourceSkillInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{skillId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("resourceId") Long resourceId, @PathVariable("skillId") Long skillId, @Valid @RequestBody @Valid DTOResourceSkillUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
delete
@DeleteMapping(value="{skillId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<Void> delete(@PathVariable("resourceId") Long resourceId, @PathVariable("skillId") Long skillId) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-