Package de.dlr.proseo.model.rest
Class OrdertemplateControllerDecorator
java.lang.Object
de.dlr.proseo.model.rest.OrdertemplateControllerDecorator
- All Implemented Interfaces:
OrdertemplateController
@RestController
@RequestMapping(value="/proseo/order-mgr/{version}/ordertemplates",
produces="application/json")
@Validated
public class OrdertemplateControllerDecorator
extends Object
implements OrdertemplateController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> countOrderTemplates(String mission, String identifier) Count order templates filtered by mission, identifier and id not equal nid.org.springframework.http.ResponseEntity<?> countSelectOrderTemplates(String mission, String name, String[] productClass, Long recordFrom, Long recordTo, String[] orderBy) Calculate the amount of order templates satisfying the selection parameters.org.springframework.http.ResponseEntity<RestOrderTemplate> createOrderTemplate(@Valid RestOrderTemplate restOrderTemplate) Create an order template from the given JSON objectorg.springframework.http.ResponseEntity<?> Delete an order template by IDorg.springframework.http.ResponseEntity<List<RestOrderTemplate>> getAndSelectOrderTemplates(String mission, String name, String[] productClass, Long recordFrom, Long recordTo, String[] orderBy) Retrieve a list of order templates satisfying the selection parametersorg.springframework.http.ResponseEntity<RestOrderTemplate> Find the order template with the given IDorg.springframework.http.ResponseEntity<List<RestOrderTemplate>> getOrderTemplates(String mission, String name, String[] productClasses) List of all order templates filtered by mission, identifier, productClassesorg.springframework.http.ResponseEntity<RestOrderTemplate> modifyOrderTemplate(Long id, RestOrderTemplate restOrderTemplate) Update the order template with the given ID with the attribute values of the given JSON object.
-
Constructor Details
-
OrdertemplateControllerDecorator
public OrdertemplateControllerDecorator()
-
-
Method Details
-
getOrderTemplates
@RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestOrderTemplate>> getOrderTemplates(@RequestParam(required=false) String mission, @RequestParam(required=false) String name, @RequestParam(required=false) String[] productClasses) List of all order templates filtered by mission, identifier, productClasses- Specified by:
getOrderTemplatesin interfaceOrdertemplateController
-
createOrderTemplate
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestOrderTemplate> createOrderTemplate(@Valid @RequestBody @Valid RestOrderTemplate restOrderTemplate) Create an order template from the given JSON object- Specified by:
createOrderTemplatein interfaceOrdertemplateController
-
countOrderTemplates
@RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countOrderTemplates(@RequestParam(required=false) String mission, @RequestParam(required=false) String identifier) Count order templates filtered by mission, identifier and id not equal nid.- Specified by:
countOrderTemplatesin interfaceOrdertemplateController
-
countSelectOrderTemplates
@RequestMapping(value="/countselect", method=GET) public org.springframework.http.ResponseEntity<?> countSelectOrderTemplates(@RequestParam(required=false) String mission, @RequestParam(required=false) String name, @RequestParam(required=false) String[] productClass, @RequestParam(required=false) Long recordFrom, @RequestParam(required=false) Long recordTo, @RequestParam(required=false) String[] orderBy) Calculate the amount of order templates satisfying the selection parameters. Mission code is mandatory.- Specified by:
countSelectOrderTemplatesin interfaceOrdertemplateController
-
getAndSelectOrderTemplates
@RequestMapping(value="/select", method=GET) public org.springframework.http.ResponseEntity<List<RestOrderTemplate>> getAndSelectOrderTemplates(@RequestParam(required=false) String mission, @RequestParam(required=false) String name, @RequestParam(required=false) String[] productClass, @RequestParam(required=false) Long recordFrom, @RequestParam(required=false) Long recordTo, @RequestParam(required=false) String[] orderBy) Retrieve a list of order templates satisfying the selection parameters- Specified by:
getAndSelectOrderTemplatesin interfaceOrdertemplateController
-
getOrderTemplateById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestOrderTemplate> getOrderTemplateById(@PathVariable Long id) Find the order template with the given ID- Specified by:
getOrderTemplateByIdin interfaceOrdertemplateController
-
deleteOrderTemplateById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrderTemplateById(@PathVariable Long id) Delete an order template by ID- Specified by:
deleteOrderTemplateByIdin interfaceOrdertemplateController
-
modifyOrderTemplate
@RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestOrderTemplate> modifyOrderTemplate(@PathVariable Long id, @RequestBody RestOrderTemplate restOrderTemplate) Update the order template with the given ID with the attribute values of the given JSON object.- Specified by:
modifyOrderTemplatein interfaceOrdertemplateController
-