public class DatabaseBlobStoreService extends Object implements fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
Constructor and Description |
---|
DatabaseBlobStoreService() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String strKey) |
byte[] |
getBlob(String strKey) |
InputStream |
getBlobInputStream(String strKey) |
String |
getBlobUrl(String strKey) |
IBlobStoreDownloadUrlService |
getDownloadUrlService()
Gets the downloadService
|
String |
getFileUrl(String strKey) |
String |
getName() |
void |
setDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService)
Sets the downloadService
|
void |
setName(String strName) |
String |
store(byte[] blob) |
String |
storeInputStream(InputStream inputStream) |
void |
update(String strKey,
byte[] blob) |
void |
updateInputStream(String strKey,
InputStream inputStream) |
public IBlobStoreDownloadUrlService getDownloadUrlService()
public void setDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService)
downloadUrlService
- downloadServicepublic String getName()
getName
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public void setName(String strName)
setName
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public void delete(String strKey)
delete
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public byte[] getBlob(String strKey)
getBlob
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public String store(byte[] blob)
store
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public void update(String strKey, byte[] blob)
update
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public String storeInputStream(InputStream inputStream)
storeInputStream
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public void updateInputStream(String strKey, InputStream inputStream)
updateInputStream
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public InputStream getBlobInputStream(String strKey)
getBlobInputStream
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
public String getBlobUrl(String strKey)
getBlobUrl
in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
Copyright © 2017 City of Paris. All rights reserved.