fr.paris.lutece.plugins.blobstore.business.database
Interface IDatabaseBlobStoreHome

All Known Implementing Classes:
DatabaseBlobStoreHome

public interface IDatabaseBlobStoreHome

The Interface IDatabaseBlobStoreHome.


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.
 

Method Detail

getLastPrimaryKey

String getLastPrimaryKey()
Get the last primary key.

Returns:
The last primary key

create

void create(BytesBlobStore blobStore)
Creation of an instance of record physical file.

Parameters:
blobStore - The instance of the physical file which contains the informations to store

update

void update(BytesBlobStore blobStore)
Update of physical file which is specified in parameter.

Parameters:
blobStore - The instance of the record physicalFile which contains the informations to update

updateInputStream

void updateInputStream(InputStreamBlobStore blobStore)
Update of physical file which is specified in parameter.

Parameters:
blobStore - The instance of the record physicalFile which contains the informations to update

remove

void remove(String strKey)
Delete the physical file whose identifier is specified in parameter.

Parameters:
strKey - The identifier of the record physical file

findByPrimaryKey

BytesBlobStore findByPrimaryKey(String strKey)
Returns an instance of a physical file whose identifier is specified in parameter.

Parameters:
strKey - The file primary key
Returns:
an instance of physical file

findByPrimaryKeyInputStream

InputStream findByPrimaryKeyInputStream(String strKey)
Returns an instance of a physical file whose identifier is specified in parameter.

Parameters:
strKey - The file primary key
Returns:
an instance of physical file

createInputStream

void createInputStream(InputStreamBlobStore blobStore)
Creation of an instance of record physical file.

Parameters:
blobStore - The instance of the physical file which contains the inputstream to store


Copyright © 2014 Mairie de Paris. All Rights Reserved.