Class FileSystemBlobStoreService

java.lang.Object
fr.paris.lutece.plugins.blobstore.service.filesystem.FileSystemBlobStoreService
All Implemented Interfaces:
fr.paris.lutece.plugins.blobstore.service.IBlobStoreService, Serializable

public class FileSystemBlobStoreService extends Object implements fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
FileSystemBlobStoreService.
See Also:
  • Constructor Details

    • FileSystemBlobStoreService

      public FileSystemBlobStoreService()
  • Method Details

    • getDownloadUrlService

      public IBlobStoreDownloadUrlService getDownloadUrlService()
      Gets the downloadService.
      Returns:
      the downloadService
    • setDownloadUrlService

      public void setDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService)
      Sets the downloadService
      Parameters:
      downloadUrlService - downloadService
    • setName

      public void setName(String strName)
      Specified by:
      setName in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getName

      public String getName()
      Specified by:
      getName in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • setBasePath

      public void setBasePath(String strBasePath)
      Sets the base directory.
      Parameters:
      strBasePath - base path
    • getBasePath

      public String getBasePath()
      Gets the base directory.
      Returns:
      the base directory
    • delete

      public void delete(String strKey)
      Specified by:
      delete in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getBlob

      public byte[] getBlob(String strKey)
      Specified by:
      getBlob in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getBlobInputStream

      public InputStream getBlobInputStream(String strKey)
      Specified by:
      getBlobInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • store

      public String store(byte[] blob)
      Specified by:
      store in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • storeInputStream

      public String storeInputStream(InputStream inputStream)
      Specified by:
      storeInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • storeFileItem

      public String storeFileItem(org.apache.commons.fileupload.FileItem fileItem)
      Specified by:
      storeFileItem in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • update

      public void update(String strKey, byte[] blob)
      Specified by:
      update in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • updateInputStream

      public void updateInputStream(String strKey, InputStream inputStream)
      Specified by:
      updateInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getBlobUrl

      public String getBlobUrl(String strKey)
      Specified by:
      getBlobUrl in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getFileUrl

      public String getFileUrl(String strKey)
      Specified by:
      getFileUrl in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • getDepth

      public Integer getDepth()
      Gets the depth.
      Returns:
      the depth
    • setDepth

      public void setDepth(Integer depth)
      Sets the depth.
      Parameters:
      depth - the new depth
    • setBasePathKey

      public void setBasePathKey(String key)
    • setDepthKey

      public void setDepthKey(String key)