Class DatabaseBlobStoreService

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

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

    • DatabaseBlobStoreService

      public DatabaseBlobStoreService()
  • Method Details

    • getDownloadUrlService

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

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

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

      public void setName(String strName)
      Specified by:
      setName in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
    • 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
    • store

      public String store(byte[] blob)
      Specified by:
      store 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
    • 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
    • updateInputStream

      public void updateInputStream(String strKey, InputStream inputStream)
      Specified by:
      updateInputStream 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
    • 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