Package de.dlr.proseo.model.rest
Klasse OrderControllerDecorator
java.lang.Object
de.dlr.proseo.model.rest.OrderControllerDecorator
- Alle implementierten Schnittstellen:
OrderController
@RestController
@RequestMapping(value="/proseo/order-mgr/{version}/orders",
produces="application/json")
@Validated
public class OrderControllerDecorator
extends Object
implements OrderController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<?> countOrders
(String mission, String identifier, Long nid) Count orders filtered by mission, identifier and id not equal nid.org.springframework.http.ResponseEntity
<?> countSelectOrders
(String mission, String identifier, String[] state, String[] productClass, String startTime, String stopTime, Long recordFrom, Long recordTo, String[] orderBy) Calculate the amount of orders satisfying the selection parameters.org.springframework.http.ResponseEntity
<RestOrder> createOrder
(@Valid RestOrder restOrder) Create an order from the given JSON objectorg.springframework.http.ResponseEntity
<?> deleteOrderById
(Long id) Delete an order by IDgetAndSelectOrders
(String mission, String identifier, String[] state, String[] productClass, String startTime, String stopTime, Long recordFrom, Long recordTo, String[] orderBy) Retrieve a list of orders satisfying the selection parametersorg.springframework.http.ResponseEntity
<RestOrder> getOrderById
(Long id) Find the order with the given IDgetOrders
(String mission, String identifier, String[] productClasses, Date startTimeFrom, Date startTimeTo, Date executionTimeFrom, Date executionTimeTo) List of all orders filtered by mission, identifier, productClasses, starttime rangeorg.springframework.http.ResponseEntity
<RestOrder> modifyOrder
(Long id, RestOrder restOrder) Update the order with the given ID with the attribute values of the given JSON object.
-
Konstruktordetails
-
OrderControllerDecorator
public OrderControllerDecorator()
-
-
Methodendetails
-
getOrders
@RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestOrder>> getOrders(@RequestParam(required=false) String mission, @RequestParam(required=false) String identifier, @RequestParam(required=false) String[] productClasses, @RequestParam(required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ss") Date startTimeFrom, @RequestParam(required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ss") Date startTimeTo, @RequestParam(required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ss") Date executionTimeFrom, @RequestParam(required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ss") Date executionTimeTo) List of all orders filtered by mission, identifier, productClasses, starttime range- Angegeben von:
getOrders
in SchnittstelleOrderController
-
createOrder
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestOrder> createOrder(@Valid @RequestBody @Valid RestOrder restOrder) Create an order from the given JSON object- Angegeben von:
createOrder
in SchnittstelleOrderController
-
countOrders
@RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countOrders(@RequestParam(required=false) String mission, @RequestParam(required=false) String identifier, @RequestParam(required=false) Long nid) Count orders filtered by mission, identifier and id not equal nid.- Angegeben von:
countOrders
in SchnittstelleOrderController
-
countSelectOrders
@RequestMapping(value="/countselect", method=GET) public org.springframework.http.ResponseEntity<?> countSelectOrders(@RequestParam(required=false) String mission, @RequestParam(required=false) String identifier, @RequestParam(required=false) String[] state, @RequestParam(required=false) String[] productClass, @RequestParam(required=false) String startTime, @RequestParam(required=false) String stopTime, @RequestParam(required=false) Long recordFrom, @RequestParam(required=false) Long recordTo, @RequestParam(required=false) String[] orderBy) Calculate the amount of orders satisfying the selection parameters. Mission code is mandatory.- Angegeben von:
countSelectOrders
in SchnittstelleOrderController
-
getAndSelectOrders
@RequestMapping(value="/select", method=GET) public org.springframework.http.ResponseEntity<List<RestOrder>> getAndSelectOrders(@RequestParam(required=false) String mission, @RequestParam(required=false) String identifier, @RequestParam(required=false) String[] state, @RequestParam(required=false) String[] productClass, @RequestParam(required=false) String startTime, @RequestParam(required=false) String stopTime, @RequestParam(required=false) Long recordFrom, @RequestParam(required=false) Long recordTo, @RequestParam(required=false) String[] orderBy) Retrieve a list of orders satisfying the selection parameters- Angegeben von:
getAndSelectOrders
in SchnittstelleOrderController
-
getOrderById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestOrder> getOrderById(@PathVariable Long id) Find the order with the given ID- Angegeben von:
getOrderById
in SchnittstelleOrderController
-
deleteOrderById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrderById(@PathVariable Long id) Delete an order by ID- Angegeben von:
deleteOrderById
in SchnittstelleOrderController
-
modifyOrder
@RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestOrder> modifyOrder(@PathVariable Long id, @RequestBody RestOrder restOrder) Update the order with the given ID with the attribute values of the given JSON object.- Angegeben von:
modifyOrder
in SchnittstelleOrderController
-