Interface OrderController

All Known Implementing Classes:
OrderControllerDecorator, OrderControllerImpl

public interface OrderController
No description (Generated with springmvc-raml-parser v.2.0.5)
  • Method Details

    • getOrders

      org.springframework.http.ResponseEntity<List<RestOrder>> getOrders(String mission, String identifier, String[] productClasses, String startTimeFrom, String startTimeTo, String executionTimeFrom, String executionTimeTo)
      List of all orders filtered by mission, identifier, productClasses, starttime range
    • createOrder

      org.springframework.http.ResponseEntity<RestOrder> createOrder(@Valid @Valid RestOrder restOrder)
      Create an order from the given JSON object
    • countOrders

      org.springframework.http.ResponseEntity<?> countOrders(String mission, String identifier, Long nid)
      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

      org.springframework.http.ResponseEntity<RestOrder> getOrderById(Long id)
      Find the order with the given ID
    • deleteOrderById

      org.springframework.http.ResponseEntity<?> deleteOrderById(Long id)
      Delete an order by ID
    • modifyOrder

      org.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.