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
    The production planner security configuration
  • 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 by ID.
    org.springframework.http.ResponseEntity<RestOrder>
    closeOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Close processing order by ID.
    org.springframework.http.ResponseEntity<RestOrder>
    deleteOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Delete processing order by 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 by ID.
    org.springframework.http.ResponseEntity<RestOrder>
    resumeOrder(String orderId, Boolean wait, org.springframework.http.HttpHeaders httpHeaders)
    Resume processing order (currently an alias for releaseOrder).
    org.springframework.http.ResponseEntity<RestOrder>
    retryOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
    Retry processing order by ID.
    org.springframework.http.ResponseEntity<RestOrder>
    suspendOrder(String orderId, Boolean force, org.springframework.http.HttpHeaders httpHeaders)
    Suspend processing order by 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 (deprecated).
      Angegeben von:
      getOrders in Schnittstelle OrderController
      Parameter:
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a list of RestOrder and HTTP status
    • getOrder

      @Deprecated public org.springframework.http.ResponseEntity<RestOrder> getOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Veraltet.
      Get processing order by ID (deprecated).
      Angegeben von:
      getOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • approveOrder

      @Deprecated public org.springframework.http.ResponseEntity<RestOrder> approveOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Veraltet.
      Approve processing order by ID (deprecated).
      Angegeben von:
      approveOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • resetOrder

      public org.springframework.http.ResponseEntity<RestOrder> resetOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Reset processing order by ID.
      Angegeben von:
      resetOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • deleteOrder

      public org.springframework.http.ResponseEntity<RestOrder> deleteOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Delete processing order by ID.
      Angegeben von:
      deleteOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • 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 (currently an alias for releaseOrder).
      Angegeben von:
      resumeOrder 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:
      ResponseEntity containing a RestOrder and HTTP status
    • cancelOrder

      public org.springframework.http.ResponseEntity<RestOrder> cancelOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Cancel processing order by ID.
      Angegeben von:
      cancelOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • closeOrder

      public org.springframework.http.ResponseEntity<RestOrder> closeOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Close processing order by ID.
      Angegeben von:
      closeOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • suspendOrder

      public org.springframework.http.ResponseEntity<RestOrder> suspendOrder(String orderId, Boolean force, org.springframework.http.HttpHeaders httpHeaders)
      Suspend processing order by ID.
      Angegeben von:
      suspendOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      force - indicates whether to force suspend the order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status
    • retryOrder

      public org.springframework.http.ResponseEntity<RestOrder> retryOrder(String orderId, org.springframework.http.HttpHeaders httpHeaders)
      Retry processing order by ID.
      Angegeben von:
      retryOrder in Schnittstelle OrderController
      Parameter:
      orderId - the ID of the processing order
      httpHeaders - the HTTP request headers (injected)
      Gibt zurück:
      ResponseEntity containing a RestOrder and HTTP status