public final class SolrIndexerActionDAO extends Object implements ISolrIndexerActionDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT_AND |
static String |
CONSTANT_WHERE |
| Constructor and Description |
|---|
SolrIndexerActionDAO() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildRequestWithFilter(String strSelect,
List<String> listStrFilter,
String strOrder)
Builds a query with filters placed in parameters
|
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
|
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
|
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
|
public static final String CONSTANT_WHERE
public static final String CONSTANT_AND
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface ISolrIndexerActionDAOplugin - the pluginpublic void insert(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISolrIndexerActionDAOindexerAction - instance of the IndexerAction object to insertplugin - the pluginpublic SolrIndexerAction load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISolrIndexerActionDAOnId - The identifier of the actionplugin - the pluginpublic void delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISolrIndexerActionDAOnId - The identifier of the actionplugin - the pluginpublic void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAll in interface ISolrIndexerActionDAOplugin - the pluginpublic void store(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISolrIndexerActionDAOindexerAction - instance of the IndexerAction object to updateplugin - the pluginpublic List<SolrIndexerAction> selectList(fr.paris.lutece.portal.business.indexeraction.IndexerActionFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectList in interface ISolrIndexerActionDAOfilter - the search filterplugin - the pluginpublic List<SolrIndexerAction> selectList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectList in interface ISolrIndexerActionDAOplugin - the pluginpublic static String buildRequestWithFilter(String strSelect, List<String> listStrFilter, String strOrder)
strSelect - the select of the querylistStrFilter - the list of filter to add in the querystrOrder - the order by of the queryCopyright © 2015 Mairie de Paris. All rights reserved.