Package de.dlr.proseo.storagemgr.rest
Class JobOrderControllerImpl
java.lang.Object
de.dlr.proseo.storagemgr.rest.JobOrderControllerImpl
- All Implemented Interfaces:
JoborderController
Spring MVC controller for the prosEO Storage Manager; implements the services
required to manage Joborders
- Author:
- Denys Chaykovskiy, Hubert Asamer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RestJoborder> createRestJoborder(RestJoborder joborder) Create a job order file with generic name out of base64 string contained in RestJoborder.org.springframework.http.ResponseEntity<String> getObjectByPathInfo(String pathInfo) Retrieve contents of file as base64 string.
-
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:
createRestJoborderin interfaceJoborderController- Parameters:
joborder- Job order information- Returns:
- ResponseEntity as RestJoborder
-
getObjectByPathInfo
Retrieve contents of file as base64 string.- Specified by:
getObjectByPathInfoin interfaceJoborderController- Parameters:
pathInfo- the path to the file to retrieve- Returns:
- Base64 coded String
-