|
||||||||||
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
Method Summary | |
---|---|
static void |
create(BytesBlobStore blobStore)
Creation of an instance of record physical file |
static void |
createInputStream(InputStreamBlobStore blobStore)
Creation of an instance of record physical file |
static BytesBlobStore |
findByPrimaryKey(java.lang.String strKey)
Returns an instance of a physical file whose identifier is specified in parameter |
static java.io.InputStream |
findByPrimaryKeyInputStream(java.lang.String strKey)
Returns an instance of a physical file whose identifier is specified in parameter |
static java.lang.String |
getLastPrimaryKey()
Get the last primary key |
static void |
remove(java.lang.String strKey)
Delete the physical file whose identifier is specified in parameter |
static void |
update(BytesBlobStore blobStore)
Update of physical file which is specified in parameter |
static 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 |
Method Detail |
---|
public static java.lang.String getLastPrimaryKey()
public static void create(BytesBlobStore blobStore)
blobStore
- The instance of the physical file which contains the informations to storepublic static void update(BytesBlobStore blobStore)
blobStore
- The instance of the record physicalFile which contains the informations to updatepublic static void updateInputStream(InputStreamBlobStore blobStore)
blobStore
- The instance of the record physicalFile which contains the informations to updatepublic static void remove(java.lang.String strKey)
strKey
- The identifier of the record physical filepublic static BytesBlobStore findByPrimaryKey(java.lang.String strKey)
strKey
- The file primary key
public static java.io.InputStream findByPrimaryKeyInputStream(java.lang.String strKey)
strKey
- The file primary key
public static void createInputStream(InputStreamBlobStore blobStore)
blobStore
- 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 |