Package de.dlr.proseo.model.rest
Schnittstelle OrderController
- Alle bekannten Implementierungsklassen:
OrderControllerDecorator
,OrderControllerImpl
public interface OrderController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
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.
-
Methodendetails
-
getOrders
org.springframework.http.ResponseEntity<List<RestOrder>> getOrders(String mission, String identifier, String[] productClasses, Date startTimeFrom, Date startTimeTo, Date executionTimeFrom, Date executionTimeTo) List of all orders filtered by mission, identifier, productClasses, starttime range -
createOrder
Create an order from the given JSON object -
countOrders
Count orders filtered by mission, identifier and id not equal nid. -
countSelectOrders
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. Mission code is mandatory. -
getAndSelectOrders
org.springframework.http.ResponseEntity<List<RestOrder>> getAndSelectOrders(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 parameters -
getOrderById
Find the order with the given ID -
deleteOrderById
Delete an order by ID -
modifyOrder
Update the order with the given ID with the attribute values of the given JSON object.
-