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()
IIndexerActionDAO
newPrimaryKey
in interface IIndexerActionDAO
public void insert(IndexerAction indexerAction)
IIndexerActionDAO
insert
in interface IIndexerActionDAO
indexerAction
- instance of the IndexerAction object to insertpublic IndexerAction load(int nId)
IIndexerActionDAO
load
in interface IIndexerActionDAO
nId
- The identifier of the actionpublic void delete(int nId)
IIndexerActionDAO
delete
in interface IIndexerActionDAO
nId
- The identifier of the actionpublic void deleteAll()
IIndexerActionDAO
deleteAll
in interface IIndexerActionDAO
public void store(IndexerAction indexerAction)
IIndexerActionDAO
store
in interface IIndexerActionDAO
indexerAction
- instance of the IndexerAction object to updatepublic List<IndexerAction> selectList(IndexerActionFilter filter)
IIndexerActionDAO
selectList
in interface IIndexerActionDAO
filter
- 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.