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

All Known Implementing Classes:
DatabaseBlobStoreDAO

public interface IDatabaseBlobStoreDAO

IBlobStoreDAO


Method Summary
 void delete(java.lang.String strId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(BytesBlobStore blobStore, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 void insert(InputStreamBlobStore blobStore, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert the InputStreamDatabaseBlobStore
 BytesBlobStore load(java.lang.String strId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.io.InputStream loadInputStream(java.lang.String strId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the inputstream from the table
 java.lang.String loadLastPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the last primary key
 void store(BytesBlobStore blobStore, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the data in the table
 void store(InputStreamBlobStore blobStore, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the data in the table
 

Method Detail

loadLastPrimaryKey

java.lang.String loadLastPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the last primary key

Parameters:
plugin - Plugin
Returns:
The last primary key

insert

void insert(BytesBlobStore blobStore,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
blobStore - instance of the object to insert
plugin - Plugin

load

BytesBlobStore load(java.lang.String strId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier
plugin - Plugin
Returns:
the instance of the PhysicalFile

loadInputStream

java.io.InputStream loadInputStream(java.lang.String strId,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the inputstream from the table

Parameters:
strId - The identifier
plugin - Plugin
Returns:
the instance of the PhysicalFile

delete

void delete(java.lang.String strId,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
strId - The identifier
plugin - Plugin

store

void store(BytesBlobStore blobStore,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the data in the table

Parameters:
blobStore - instance of the object to update
plugin - Plugin

insert

void insert(InputStreamBlobStore blobStore,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert the InputStreamDatabaseBlobStore

Parameters:
blobStore - the InputStreamDatabaseBlobStore
plugin - the Plugin

store

void store(InputStreamBlobStore blobStore,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the data in the table

Parameters:
blobStore - instance of the object to update
plugin - Plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.