public final class IndexerActionDAO extends Object implements IIndexerActionDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT_AND |
static String |
CONSTANT_WHERE |
| 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
|
int |
newPrimaryKey()
Generates a new primary key
|
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 int newPrimaryKey()
IIndexerActionDAOnewPrimaryKey in interface IIndexerActionDAOpublic void insert(IndexerAction indexerAction)
IIndexerActionDAOinsert in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to insertpublic IndexerAction load(int nId)
IIndexerActionDAOload in interface IIndexerActionDAOnId - The identifier of the actionpublic void delete(int nId)
IIndexerActionDAOdelete in interface IIndexerActionDAOnId - The identifier of the actionpublic void deleteAll()
IIndexerActionDAOdeleteAll in interface IIndexerActionDAOpublic void store(IndexerAction indexerAction)
IIndexerActionDAOstore in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to updatepublic List<IndexerAction> selectList(IndexerActionFilter filter)
IIndexerActionDAOselectList in interface IIndexerActionDAOfilter - the search filterpublic 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.