public interface IFileSystemBlobStoreHome
Modifier and Type | Method and Description |
---|---|
void |
create(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Creation of an instance of record physical file.
|
void |
createInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Creation of an instance of record physical file.
|
BytesBlobStore |
findByPrimaryKey(String strKey,
String strBasePath,
Integer depth)
Returns an instance of a physical file whose identifier is specified in
parameter.
|
InputStream |
findByPrimaryKeyInputStream(String strKey,
String strBasePath,
Integer depth)
Returns an instance of a physical file whose identifier is specified in
parameter.
|
boolean |
remove(String strKey,
String strBasePath,
Integer depth)
Delete the physical file whose identifier is specified in parameter.
|
void |
update(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Update of physical file which is specified in parameter.
|
void |
updateInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Update of physical file which is specified in parameter.
|
void create(BytesBlobStore blobStore, String strBasePath, Integer depth) throws IOException, FileAlreadyExistsException
blobStore
- The instance of the physical file which contains the
informations to storestrBasePath
- base directorydepth
- the depthIOException
- ioeFileAlreadyExistsException
- already existsvoid update(BytesBlobStore blobStore, String strBasePath, Integer depth) throws IOException
blobStore
- the blob storestrBasePath
- base directorydepth
- the depthIOException
- ioevoid updateInputStream(InputStreamBlobStore blobStore, String strBasePath, Integer depth) throws IOException
blobStore
- The instance of the record physicalFile which contains
the informations to updatestrBasePath
- base directorydepth
- the depthIOException
- ioeboolean remove(String strKey, String strBasePath, Integer depth) throws IOException
strKey
- The identifier of the record physical filestrBasePath
- base directorydepth
- the depthtrue
if the file is removed, false
otherwise.IOException
- ioeBytesBlobStore findByPrimaryKey(String strKey, String strBasePath, Integer depth) throws IOException
strKey
- The file primary keystrBasePath
- base directorydepth
- the depthIOException
- ioeInputStream findByPrimaryKeyInputStream(String strKey, String strBasePath, Integer depth) throws IOException
strKey
- The file primary keystrBasePath
- base directorydepth
- the depthIOException
- ioevoid createInputStream(InputStreamBlobStore blobStore, String strBasePath, Integer depth) throws FileAlreadyExistsException, IOException
blobStore
- The instance of the physical file which contains the
inputstream to storestrBasePath
- base directorydepth
- the depthFileAlreadyExistsException
- already existsIOException
- ioeCopyright © 2016 Mairie de Paris. All Rights Reserved.