Class RoughPlanningOrderMovementService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.roughplanning.rs1.roughplanningordermovement.RoughPlanningOrderMovementService
@RestController
@RequestMapping("planning/workload-analysis/r1/workload-analyses/{workloadAnalysisId:[0-9]+}/workload-analysis-order-movements")
@Resource(logging=true)
public class RoughPlanningOrderMovementService
extends PrivateService
Service for manage roughplanningordermovement
- Since:
- 20.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTORoughPlanningOrderMovement> get(Long roughPlanningOrderMovementId, String language, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTORoughPlanningOrderMovement>> getCollection(Long roughPlanningId, @Valid Page page, String language, Collection<String> fields, String order, @Valid @NotNull DTORoughPlanningOrderMovementFilter filter) org.springframework.http.ResponseEntity<Void> patch(Long roughPlanningOrderMovementId, @Valid DTORoughPlanningOrderMovementUpdate dto) org.springframework.http.ResponseEntity<DTOIdentifier<Long>>
-
Constructor Details
-
RoughPlanningOrderMovementService
public RoughPlanningOrderMovementService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTORoughPlanningOrderMovement>> 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 DTORoughPlanningOrderMovementFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{workloadAnalylsisOrderMovementId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTORoughPlanningOrderMovement> get(@PathVariable("workloadAnalylsisOrderMovementId") Long roughPlanningOrderMovementId, @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 DTORoughPlanningOrderMovementInsert dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
patch
@PatchMapping(value="{workloadAnalylsisOrderMovementId:[0-9]+}", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> patch(@PathVariable("workloadAnalylsisOrderMovementId") Long roughPlanningOrderMovementId, @Valid @RequestBody @Valid DTORoughPlanningOrderMovementUpdate dto) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-