public final class IndexerActionDAO extends Object implements IIndexerActionDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT_AND
SQL And constant
|
static String |
CONSTANT_WHERE
SQL Where constant
|
| Constructor and Description |
|---|
IndexerActionDAO() |
| 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)
Delete a record from the table
|
void |
deleteAll()
Delete a record from the table
|
void |
insert(IndexerAction indexerAction)
Insert a new record in the table.
|
IndexerAction |
load(int nId)
Load the data of the IndexerAction from the table
|
List<IndexerAction> |
selectList()
Load the data of all indexerAction
|
List<IndexerAction> |
selectList(IndexerActionFilter filter)
Load the data of all indexerAction and returns them in a list
|
void |
store(IndexerAction indexerAction)
Update the indexerAction in the table
|
public static final String CONSTANT_WHERE
public static final String CONSTANT_AND
public void insert(IndexerAction indexerAction)
insert in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to insertpublic IndexerAction load(int nId)
load in interface IIndexerActionDAOnId - The identifier of the actionpublic void delete(int nId)
delete in interface IIndexerActionDAOnId - The identifier of the actionpublic void deleteAll()
deleteAll in interface IIndexerActionDAOpublic void store(IndexerAction indexerAction)
store in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to updatepublic List<IndexerAction> selectList(IndexerActionFilter filter)
selectList in interface IIndexerActionDAOfilter - the search filterpublic List<IndexerAction> selectList()
selectList in interface IIndexerActionDAOpublic 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 © 2020 City of Paris. All rights reserved.