public final class DatabaseBlobStoreHome extends Object implements IDatabaseBlobStoreHome
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE |
Constructor and Description |
---|
DatabaseBlobStoreHome() |
Modifier and Type | Method and Description |
---|---|
void |
create(BytesBlobStore blobStore)
Creation of an instance of record physical file.
|
void |
createInputStream(InputStreamBlobStore blobStore)
Creation of an instance of record physical file.
|
BytesBlobStore |
findByPrimaryKey(String strKey)
Returns an instance of a physical file whose identifier is specified in
parameter.
|
InputStream |
findByPrimaryKeyInputStream(String strKey)
Returns an instance of a physical file whose identifier is specified in
parameter.
|
String |
getLastPrimaryKey()
Get the last primary key.
|
void |
remove(String strKey)
Delete the physical file whose identifier is specified in parameter.
|
void |
update(BytesBlobStore blobStore)
Update of physical file which is specified in parameter.
|
void |
updateInputStream(InputStreamBlobStore blobStore)
Update of physical file which is specified in parameter.
|
public static final String BEAN_SERVICE
public String getLastPrimaryKey()
IDatabaseBlobStoreHome
getLastPrimaryKey
in interface IDatabaseBlobStoreHome
public void create(BytesBlobStore blobStore)
IDatabaseBlobStoreHome
create
in interface IDatabaseBlobStoreHome
blobStore
- The instance of the physical file which contains the
informations to storepublic void update(BytesBlobStore blobStore)
IDatabaseBlobStoreHome
update
in interface IDatabaseBlobStoreHome
blobStore
- The instance of the record physicalFile which contains
the informations to updatepublic void updateInputStream(InputStreamBlobStore blobStore)
IDatabaseBlobStoreHome
updateInputStream
in interface IDatabaseBlobStoreHome
blobStore
- The instance of the record physicalFile which contains
the informations to updatepublic void remove(String strKey)
IDatabaseBlobStoreHome
remove
in interface IDatabaseBlobStoreHome
strKey
- The identifier of the record physical filepublic BytesBlobStore findByPrimaryKey(String strKey)
IDatabaseBlobStoreHome
findByPrimaryKey
in interface IDatabaseBlobStoreHome
strKey
- The file primary keypublic InputStream findByPrimaryKeyInputStream(String strKey)
IDatabaseBlobStoreHome
findByPrimaryKeyInputStream
in interface IDatabaseBlobStoreHome
strKey
- The file primary keypublic void createInputStream(InputStreamBlobStore blobStore)
IDatabaseBlobStoreHome
createInputStream
in interface IDatabaseBlobStoreHome
blobStore
- The instance of the physical file which contains the
inputstream to storeCopyright © 2016 Mairie de Paris. All Rights Reserved.