|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.blobstore.business.database.DatabaseBlobStoreHome
public final class DatabaseBlobStoreHome
This class provides instances management methods (create, find, ...) for physical file objects
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
|
| Constructor Summary | |
|---|---|
DatabaseBlobStoreHome()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Constructor Detail |
|---|
public DatabaseBlobStoreHome()
| Method Detail |
|---|
public String getLastPrimaryKey()
IDatabaseBlobStoreHome
getLastPrimaryKey in interface IDatabaseBlobStoreHomepublic void create(BytesBlobStore blobStore)
IDatabaseBlobStoreHome
create in interface IDatabaseBlobStoreHomeblobStore - The instance of the physical file which contains the
informations to storepublic void update(BytesBlobStore blobStore)
IDatabaseBlobStoreHome
update in interface IDatabaseBlobStoreHomeblobStore - The instance of the record physicalFile which contains
the informations to updatepublic void updateInputStream(InputStreamBlobStore blobStore)
IDatabaseBlobStoreHome
updateInputStream in interface IDatabaseBlobStoreHomeblobStore - The instance of the record physicalFile which contains
the informations to updatepublic void remove(String strKey)
IDatabaseBlobStoreHome
remove in interface IDatabaseBlobStoreHomestrKey - The identifier of the record physical filepublic BytesBlobStore findByPrimaryKey(String strKey)
IDatabaseBlobStoreHome
findByPrimaryKey in interface IDatabaseBlobStoreHomestrKey - The file primary key
public InputStream findByPrimaryKeyInputStream(String strKey)
IDatabaseBlobStoreHome
findByPrimaryKeyInputStream in interface IDatabaseBlobStoreHomestrKey - The file primary key
public void createInputStream(InputStreamBlobStore blobStore)
IDatabaseBlobStoreHome
createInputStream in interface IDatabaseBlobStoreHomeblobStore - The instance of the physical file which contains the
inputstream to store
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||