fr.paris.lutece.plugins.search.solr.business.indexeraction
Interface ISolrIndexerActionDAO

All Known Implementing Classes:
SolrIndexerActionDAO

public interface ISolrIndexerActionDAO

IIndexerActionDAO


Method Summary
 void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 SolrIndexerAction load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the IndexerAction from the table
 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Generates a new primary key
 java.util.List<SolrIndexerAction> selectList(fr.paris.lutece.portal.business.indexeraction.IndexerActionFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all indexerAction and returns them in a list
 java.util.List<SolrIndexerAction> selectList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all indexerAction
 void store(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the indexerAction in the table
 

Method Detail

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key

Parameters:
plugin - the plugin
Returns:
The new primary key

insert

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

Parameters:
indexerAction - instance of the IndexerAction object to insert
plugin - the plugin

load

SolrIndexerAction load(int nId,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the IndexerAction from the table

Parameters:
nId - The identifier of the action
plugin - the plugin
Returns:
the instance of the IndexerAction

delete

void delete(int nId,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nId - The identifier of the action
plugin - the plugin

deleteAll

void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
plugin - the plugin

store

void store(SolrIndexerAction indexerAction,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the indexerAction in the table

Parameters:
indexerAction - instance of the IndexerAction object to update
plugin - the plugin

selectList

java.util.List<SolrIndexerAction> selectList(fr.paris.lutece.portal.business.indexeraction.IndexerActionFilter filter,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all indexerAction and returns them in a list

Parameters:
filter - the search filter
plugin - the plugin
Returns:
The List which contains the data of all action

selectList

java.util.List<SolrIndexerAction> selectList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all indexerAction

Parameters:
plugin - the plugin
Returns:
The List which contains the data of all action


Copyright © 2011 Mairie de Paris. All Rights Reserved.