Package de.dlr.proseo.ordermgr.rest
Class OrderjobstepControllerImpl
java.lang.Object
de.dlr.proseo.ordermgr.rest.OrderjobstepControllerImpl
- All Implemented Interfaces:
OrderjobstepController
Controller for the prosEO Order Manager, implements the services required to manage job steps.
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RestJobStep> getJobStep(String name) Get a production planner job step identified by name or id.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".
-
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:
getJobStepsin interfaceOrderjobstepController- Parameters:
status- The status of the job steps to retrievemission- The mission for which to retrieve the job stepslast- 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:
getJobStepin interfaceOrderjobstepController- Parameters:
name- The name or id of the job step to retrieve- Returns:
- A ResponseEntity containing the RestJobStep object and the HTTP status code
-