Class IndexerActionDAO
java.lang.Object
fr.paris.lutece.portal.business.indexeraction.IndexerActionDAO
- All Implemented Interfaces:
IIndexerActionDAO
This class provides Data Access methods for Indexer Action objects
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildRequestWithFilter(String strSelect, List<String> listStrFilter, String strOrder) Builds a query with filters placed in parametersvoiddelete(int nId) Delete a record from the tablevoidDelete a record from the tablevoidinsert(IndexerAction indexerAction) Insert a new record in the table.load(int nId) Load the data of the IndexerAction from the tableLoad the data of all indexerActionselectList(IndexerActionFilter filter) Load the data of all indexerAction and returns them in a listvoidstore(IndexerAction indexerAction) Update the indexerAction in the table
-
Field Details
-
CONSTANT_WHERE
SQL Where constant- See Also:
-
CONSTANT_AND
SQL And constant- See Also:
-
-
Constructor Details
-
IndexerActionDAO
public IndexerActionDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIIndexerActionDAO- Parameters:
indexerAction- instance of the IndexerAction object to insert
-
load
Load the data of the IndexerAction from the table- Specified by:
loadin interfaceIIndexerActionDAO- Parameters:
nId- The identifier of the action- Returns:
- the instance of the IndexerAction
-
delete
public void delete(int nId) Delete a record from the table- Specified by:
deletein interfaceIIndexerActionDAO- Parameters:
nId- The identifier of the action
-
deleteAll
public void deleteAll()Delete a record from the table- Specified by:
deleteAllin interfaceIIndexerActionDAO
-
store
Update the indexerAction in the table- Specified by:
storein interfaceIIndexerActionDAO- Parameters:
indexerAction- instance of the IndexerAction object to update
-
selectList
Load the data of all indexerAction and returns them in a list- Specified by:
selectListin interfaceIIndexerActionDAO- Parameters:
filter- the search filter- Returns:
- The List which contains the data of all action
-
selectList
Load the data of all indexerAction- Specified by:
selectListin interfaceIIndexerActionDAO- Returns:
- The List which contains the data of all action
-
buildRequestWithFilter
public static String buildRequestWithFilter(String strSelect, List<String> listStrFilter, String strOrder) Builds a query with filters placed in parameters- Parameters:
strSelect- the select of the querylistStrFilter- the list of filter to add in the querystrOrder- the order by of the query- Returns:
- a query
-