Class CapacityPlanningResultDetailService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.forecastcapacity.rs1.capacityplanning.detail.CapacityPlanningResultDetailService
@RestController
@RequestMapping("planning/forecast-capacity/r1/capacity-plannings/scenarios/{scenarioId:[0-9]+}/result-details")
@Resource(logging=true)
public class CapacityPlanningResultDetailService
extends PrivateService
Service to get the stored
BOCapacityPlanningResultDetail objects, which are the results' details. - Since:
- 15.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PageResponse<DTOCapacityPlanningResultDetail>> getCollection(@Valid Page page, Collection<String> fields, String order, Long scenarioId) Returns the collection of all the storedBOCapacityPlanningResultDetailobjects by calling theCapacityPlanningResultDetailSearchEventevent
-
Constructor Details
-
CapacityPlanningResultDetailService
public CapacityPlanningResultDetailService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOCapacityPlanningResultDetail>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,value="_fields") Collection<String> fields, @RequestParam(required=false,value="_order") String order, @PathVariable("scenarioId") Long scenarioId) throws DAValidateException, DAException Returns the collection of all the storedBOCapacityPlanningResultDetailobjects by calling theCapacityPlanningResultDetailSearchEventevent- Parameters:
scenarioId- theBOCapacityPlanningResultDetailobject's scenario field- Returns:
- the collection of
DTOCapacityPlanningResultDetails - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-