|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.indexeraction.IndexerActionDAO
public final class IndexerActionDAO
This class provides Data Access methods for Indexer Action objects
Field Summary | |
---|---|
static java.lang.String |
CONSTANT_AND
|
static java.lang.String |
CONSTANT_WHERE
|
Constructor Summary | |
---|---|
IndexerActionDAO()
|
Method Summary | |
---|---|
static java.lang.String |
buildRequestWithFilter(java.lang.String strSelect,
java.util.List<java.lang.String> listStrFilter,
java.lang.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 |
java.util.List<IndexerAction> |
selectList()
Load the data of all indexerAction |
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONSTANT_WHERE
public static final java.lang.String CONSTANT_AND
Constructor Detail |
---|
public IndexerActionDAO()
Method Detail |
---|
public int newPrimaryKey()
newPrimaryKey
in interface IIndexerActionDAO
public void insert(IndexerAction indexerAction)
insert
in interface IIndexerActionDAO
indexerAction
- instance of the IndexerAction object to insertpublic IndexerAction load(int nId)
load
in interface IIndexerActionDAO
nId
- The identifier of the action
public void delete(int nId)
delete
in interface IIndexerActionDAO
nId
- The identifier of the actionpublic void deleteAll()
deleteAll
in interface IIndexerActionDAO
public void store(IndexerAction indexerAction)
store
in interface IIndexerActionDAO
indexerAction
- instance of the IndexerAction object to updatepublic java.util.List<IndexerAction> selectList(IndexerActionFilter filter)
selectList
in interface IIndexerActionDAO
filter
- the search filter
public java.util.List<IndexerAction> selectList()
selectList
in interface IIndexerActionDAO
public static java.lang.String buildRequestWithFilter(java.lang.String strSelect, java.util.List<java.lang.String> listStrFilter, java.lang.String strOrder)
strSelect
- the select of the querylistStrFilter
- the list of filter to add in the querystrOrder
- the order by of the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |