public interface IFileSystemBlobStoreDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(String strKey,
String strBasePath,
Integer depth)
Removes the file.
|
void |
insert(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Inserts the blobStore.
|
void |
insert(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Inserts the InputStreamDatabaseBlobStore.
|
BytesBlobStore |
load(String strId,
String strBasePath,
Integer depth)
Load the data from the table.
|
InputStream |
loadInputStream(String strId,
String strBasePath,
Integer depth)
Loads the InputStreamDatabaseBlobStore.
|
void |
store(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Updates the file.
|
void |
storeInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Updates the file.
|
void insert(BytesBlobStore blobStore, String strBasePath, Integer depth) throws IOException, FileAlreadyExistsException
blobStore - blobStorestrBasePath - base directorydepth - the depthIOException - ioexceptionFileAlreadyExistsException - if the file already existsvoid insert(InputStreamBlobStore blobStore, String strBasePath, Integer depth) throws FileAlreadyExistsException, IOException
blobStore - blobStorestrBasePath - base directorydepth - the depthFileAlreadyExistsException - if the file already existsIOException - ioexceptionBytesBlobStore load(String strId, String strBasePath, Integer depth) throws IOException
strId - The identifierstrBasePath - base directorydepth - the depthIOException - ioexceptionInputStream loadInputStream(String strId, String strBasePath, Integer depth) throws IOException
strId - idstrBasePath - base pathdepth - the depthIOException - ioexceptionvoid store(BytesBlobStore blobStore, String strBasePath, Integer depth) throws IOException
blobStore - the blobstrBasePath - the base directorydepth - the depthIOException - ioexceptionvoid storeInputStream(InputStreamBlobStore blobStore, String strBasePath, Integer depth) throws IOException
blobStore - the blobstrBasePath - the base directorydepth - the depthIOException - ioexceptionboolean delete(String strKey, String strBasePath, Integer depth) throws IOException
strKey - the keystrBasePath - the base directorydepth - the depthtrue if the file is deleted, false otherwiseIOException - ioexceptionCopyright © 2022 City of Paris. All rights reserved.