Class IndexerActionDAO
java.lang.Object
fr.paris.lutece.plugins.document.business.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 tableintGenerates a new primary keyselectList(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
- See Also:
-
CONSTANT_AND
- See Also:
-
-
Constructor Details
-
IndexerActionDAO
public IndexerActionDAO()
-
-
Method Details
-
newPrimaryKey
public int newPrimaryKey()Description copied from interface:IIndexerActionDAOGenerates a new primary key- Specified by:
newPrimaryKeyin interfaceIIndexerActionDAO- Returns:
- The new primary key
-
insert
Description copied from interface:IIndexerActionDAOInsert a new record in the table.- Specified by:
insertin interfaceIIndexerActionDAO- Parameters:
indexerAction- instance of the IndexerAction object to insert
-
load
Description copied from interface:IIndexerActionDAOLoad 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) Description copied from interface:IIndexerActionDAODelete a record from the table- Specified by:
deletein interfaceIIndexerActionDAO- Parameters:
nId- The identifier of the action
-
deleteAll
public void deleteAll()Description copied from interface:IIndexerActionDAODelete a record from the table- Specified by:
deleteAllin interfaceIIndexerActionDAO
-
store
Description copied from interface:IIndexerActionDAOUpdate the indexerAction in the table- Specified by:
storein interfaceIIndexerActionDAO- Parameters:
indexerAction- instance of the IndexerAction object to update
-
selectList
Description copied from interface:IIndexerActionDAOLoad 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
-
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
-