|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.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(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()
IIndexerActionDAO
newPrimaryKey in interface IIndexerActionDAOpublic void insert(IndexerAction indexerAction)
IIndexerActionDAO
insert in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to insertpublic IndexerAction load(int nId)
IIndexerActionDAO
load in interface IIndexerActionDAOnId - The identifier of the action
public void delete(int nId)
IIndexerActionDAO
delete in interface IIndexerActionDAOnId - The identifier of the actionpublic void deleteAll()
IIndexerActionDAO
deleteAll in interface IIndexerActionDAOpublic void store(IndexerAction indexerAction)
IIndexerActionDAO
store in interface IIndexerActionDAOindexerAction - instance of the IndexerAction object to updatepublic java.util.List<IndexerAction> selectList(IndexerActionFilter filter)
IIndexerActionDAO
selectList in interface IIndexerActionDAOfilter - the search filter
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 | |||||||||