Package de.dlr.proseo.storagemgr.rest
Klasse ProductfileControllerImpl
java.lang.Object
de.dlr.proseo.storagemgr.rest.ProductfileControllerImpl
- Alle implementierten Schnittstellen:
ProductfileController
Spring MVC controller for the prosEO Storage Manager; implements the services
required to manage product files
- Autor:
- Ernst Melchinger, Denys Chaykovskiy
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<RestFileInfo> getRestFileInfoByPathInfo
(String pathInfo) Copy source file named pathInfo to file cache used by processors.org.springframework.http.ResponseEntity
<RestFileInfo> updateProductfiles
(String pathInfo, Long productId, Long fileSize) Copy local file named pathInfo to storage manager.
-
Konstruktordetails
-
ProductfileControllerImpl
public ProductfileControllerImpl()
-
-
Methodendetails
-
getRestFileInfoByPathInfo
public org.springframework.http.ResponseEntity<RestFileInfo> getRestFileInfoByPathInfo(String pathInfo) Copy source file named pathInfo to file cache used by processors. The local file name is: posixWorkerMountPoint + relative source file path- Angegeben von:
getRestFileInfoByPathInfo
in SchnittstelleProductfileController
- Parameter:
pathInfo
- Source file name- Gibt zurück:
- Local file name
-
updateProductfiles
public org.springframework.http.ResponseEntity<RestFileInfo> updateProductfiles(String pathInfo, Long productId, Long fileSize) Copy local file named pathInfo to storage manager. The target file path is: default mount point + productId + relative source file path- Angegeben von:
updateProductfiles
in SchnittstelleProductfileController
- Parameter:
pathInfo
- Source file nameproductId
- Product id- Gibt zurück:
- Target file name
-