Class RoughPlanningBucketMovementService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.roughplanning.rs1.roughplanningbucketmovement.RoughPlanningBucketMovementService
@RestController
@RequestMapping("planning/workload-analysis/r1/workload-analyses/{workloadAnalysisId:[0-9]+}/workload-analysis-bucket-movements")
@Resource(logging=true)
public class RoughPlanningBucketMovementService
extends PrivateService
Service for manage workload analysis bucket movement
- Since:
- 20.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTORoughPlanningBucketMovement> get(Long roughPlanningBucketMovementId, String language, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTORoughPlanningBucketMovement>> getCollection(Long roughPlanningId, @Valid Page page, String language, Collection<String> fields, String order, @Valid @NotNull DTORoughPlanningBucketMovementFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long roughPlanningBucketMovementId, @Valid DTORoughPlanningBucketMovementUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
RoughPlanningBucketMovementService
public RoughPlanningBucketMovementService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTORoughPlanningBucketMovement>> getCollection(@PathVariable("workloadAnalysisId") Long roughPlanningId, @RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_language",defaultValue="user") String language, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTORoughPlanningBucketMovementFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{workloadAnalysisBucketMovementId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTORoughPlanningBucketMovement> get(@PathVariable("workloadAnalysisBucketMovementId") Long roughPlanningBucketMovementId, @RequestParam(required=false,name="_language",defaultValue="user") String language, @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<DTOIdentifier<Long>> post(@Valid @RequestBody @Valid DTORoughPlanningBucketMovementInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{workloadAnalysisBucketMovementId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("workloadAnalysisBucketMovementId") Long roughPlanningBucketMovementId, @Valid @RequestBody @Valid DTORoughPlanningBucketMovementUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-