Klasse OrderControllerImpl

java.lang.Object
de.dlr.proseo.planner.rest.OrderControllerImpl
Alle implementierten Schnittstellen:
OrderController

@Component public class OrderControllerImpl extends Object implements OrderController
Spring MVC controller for the prosEO planner; implements the services required to plan and handle processing orders.
Autor:
Ernst Melchinger
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.springframework.http.ResponseEntity<RestOrder>
    approveOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Veraltet.
    org.springframework.http.ResponseEntity<RestOrder>
    cancelOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Cancel processing order of id
    org.springframework.http.ResponseEntity<RestOrder>
    closeOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Close processing order of id
    org.springframework.http.ResponseEntity<RestOrder>
    deleteOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Delete processing order of id
    org.springframework.http.ResponseEntity<RestOrder>
    getOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Veraltet.
    org.springframework.http.ResponseEntity<List<RestOrder>>
    getOrders(org.springframework.http.HttpHeaders httpHeaders)
    Veraltet.
    org.springframework.http.ResponseEntity<RestOrder>
    planOrder(String releaseId, String facility, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
    Plan processing order of id on processing facility
    org.springframework.http.ResponseEntity<RestOrder>
    releaseOrder(String orderId, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
    Release processing order of id (at the moment the same functionality as resumeOrder)
    org.springframework.http.ResponseEntity<RestOrder>
    resetOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Reset processing order of id
    org.springframework.http.ResponseEntity<RestOrder>
    resumeOrder(String orderId, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
    Resume processing order of id (currently an alias for releaseOrder)
    org.springframework.http.ResponseEntity<RestOrder>
    retryOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Retry processing order of id
    org.springframework.http.ResponseEntity<RestOrder>
    suspendOrder(String orderId, Boolean force, org.springframework.http.HttpHeaders httpHeaders)
    Suspend processing order of id

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

  • Konstruktordetails

    • OrderControllerImpl

      public OrderControllerImpl()
  • Methodendetails

    • getOrders

      @Deprecated public org.springframework.http.ResponseEntity<List<RestOrder>> getOrders(org.springframework.http.HttpHeaders httpHeaders)
      Veraltet.
      Get all processing orders
      Angegeben von:
      getOrders in Schnittstelle OrderController
    • getOrder

      @Deprecated public org.springframework.http.ResponseEntity<RestOrder> getOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Veraltet.
      Get processing order of id
      Angegeben von:
      getOrder in Schnittstelle OrderController
    • approveOrder

      @Deprecated public org.springframework.http.ResponseEntity<RestOrder> approveOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Veraltet.
      Approve processing order of id
      Angegeben von:
      approveOrder in Schnittstelle OrderController
    • resetOrder

      public org.springframework.http.ResponseEntity<RestOrder> resetOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Reset processing order of id
      Angegeben von:
      resetOrder in Schnittstelle OrderController
    • deleteOrder

      public org.springframework.http.ResponseEntity<RestOrder> deleteOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Delete processing order of id
      Angegeben von:
      deleteOrder in Schnittstelle OrderController
    • planOrder

      public org.springframework.http.ResponseEntity<RestOrder> planOrder(String releaseId, String facility, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
      Plan processing order of id on processing facility
      Angegeben von:
      planOrder in Schnittstelle OrderController
      Parameter:
      releaseId - the processing order database ID
      facility - the processing facility name
      wait - indicates whether to wait for the order planning to complete
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      HTTP status "CREATED" and the updated REST order, if the planning succeeded, or HTTP status "NOT MODIFIED", an error message and the original REST order, if a warning was issued, or HTTP status "NOT FOUND" and an error message, if either the order or the facility cannot be found, or HTTP status "BAD REQUEST" and an error message, if the planning failed for some reason, or HTTP status "INTERNAL SERVER ERROR" and an error message, if any unforeseen error occurred
    • releaseOrder

      public org.springframework.http.ResponseEntity<RestOrder> releaseOrder(String orderId, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
      Release processing order of id (at the moment the same functionality as resumeOrder)
      Angegeben von:
      releaseOrder in Schnittstelle OrderController
      Parameter:
      orderId - the processing order database ID
      wait - indicates whether to wait for the order releasing to complete
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      HTTP status "OK" and the updated REST order, if the releasing succeeded, or HTTP status "NOT FOUND" and an error message, if the order cannot be found, or HTTP status "BAD REQUEST" and an error message, if the releasing failed for some reason, or HTTP status "INTERNAL SERVER ERROR" and an error message, if any unforeseen error occurred
    • resumeOrder

      public org.springframework.http.ResponseEntity<RestOrder> resumeOrder(String orderId, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
      Resume processing order of id (currently an alias for releaseOrder)
      Angegeben von:
      resumeOrder in Schnittstelle OrderController
    • cancelOrder

      public org.springframework.http.ResponseEntity<RestOrder> cancelOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Cancel processing order of id
      Angegeben von:
      cancelOrder in Schnittstelle OrderController
    • closeOrder

      public org.springframework.http.ResponseEntity<RestOrder> closeOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Close processing order of id
      Angegeben von:
      closeOrder in Schnittstelle OrderController
    • suspendOrder

      public org.springframework.http.ResponseEntity<RestOrder> suspendOrder(String orderId, Boolean force, org.springframework.http.HttpHeaders httpHeaders)
      Suspend processing order of id
      Angegeben von:
      suspendOrder in Schnittstelle OrderController
    • retryOrder

      public org.springframework.http.ResponseEntity<RestOrder> retryOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Retry processing order of id
      Angegeben von:
      retryOrder in Schnittstelle OrderController