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 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:
      getOrderTemplates in interface OrdertemplateController
    • 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:
      createOrderTemplate in interface OrdertemplateController
    • 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:
      countOrderTemplates in interface OrdertemplateController
    • 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:
      countSelectOrderTemplates in interface OrdertemplateController
    • 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:
      getAndSelectOrderTemplates in interface OrdertemplateController
    • 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:
      getOrderTemplateById in interface OrdertemplateController
    • deleteOrderTemplateById

      @RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrderTemplateById(@PathVariable Long id)
      Delete an order template by ID
      Specified by:
      deleteOrderTemplateById in interface OrdertemplateController
    • 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:
      modifyOrderTemplate in interface OrdertemplateController