Class OrderjobstepControllerImpl

java.lang.Object
de.dlr.proseo.ordermgr.rest.OrderjobstepControllerImpl
All Implemented Interfaces:
OrderjobstepController

@Component public class OrderjobstepControllerImpl extends Object implements OrderjobstepController
Controller for the prosEO Order Manager, implements the services required to manage job steps.
Author:
Ernst Melchinger
  • Constructor Details

    • OrderjobstepControllerImpl

      public OrderjobstepControllerImpl()
  • Method Details

    • getJobSteps

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<List<RestJobStep>> getJobSteps(Status status, String mission, Long last)
      Get production planner job steps by status, mission, and latest of size "last".
      Specified by:
      getJobSteps in interface OrderjobstepController
      Parameters:
      status - The status of the job steps to retrieve
      mission - The mission for which to retrieve the job steps
      last - The number of latest job steps to retrieve
      Returns:
      A ResponseEntity containing the list of RestJobStep objects and the HTTP status code
    • getJobStep

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<RestJobStep> getJobStep(String name)
      Get a production planner job step identified by name or id.
      Specified by:
      getJobStep in interface OrderjobstepController
      Parameters:
      name - The name or id of the job step to retrieve
      Returns:
      A ResponseEntity containing the RestJobStep object and the HTTP status code