Class JobOrderControllerImpl

java.lang.Object
de.dlr.proseo.storagemgr.rest.JobOrderControllerImpl
All Implemented Interfaces:
JoborderController

@Component public class JobOrderControllerImpl extends Object implements JoborderController
Spring MVC controller for the prosEO Storage Manager; implements the services required to manage Joborders
Author:
Denys Chaykovskiy, Hubert Asamer
  • Constructor Details

    • JobOrderControllerImpl

      public JobOrderControllerImpl()
  • Method Details

    • createRestJoborder

      public org.springframework.http.ResponseEntity<RestJoborder> createRestJoborder(RestJoborder joborder)
      Create a job order file with generic name out of base64 string contained in RestJoborder. Store it into FS defined by fsType.
      Specified by:
      createRestJoborder in interface JoborderController
      Parameters:
      joborder - Job order information
      Returns:
      ResponseEntity as RestJoborder
    • getObjectByPathInfo

      public org.springframework.http.ResponseEntity<String> getObjectByPathInfo(String pathInfo)
      Retrieve contents of file as base64 string.
      Specified by:
      getObjectByPathInfo in interface JoborderController
      Parameters:
      pathInfo - the path to the file to retrieve
      Returns:
      Base64 coded String