Klasse ProductfileControllerImpl

java.lang.Object
de.dlr.proseo.storagemgr.rest.ProductfileControllerImpl
Alle implementierten Schnittstellen:
ProductfileController

@Component public class ProductfileControllerImpl extends Object implements ProductfileController
Spring MVC controller for the prosEO Storage Manager; implements the services required to manage product files
Autor:
Ernst Melchinger, Denys Chaykovskiy
  • 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 Schnittstelle ProductfileController
      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 Schnittstelle ProductfileController
      Parameter:
      pathInfo - Source file name
      productId - Product id
      Gibt zurück:
      Target file name