Class WikiAIIndexerActionDAO
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.WikiAIIndexerActionDAO
- All Implemented Interfaces:
IWikiAIIndexerActionDAO
@ApplicationScoped
public class WikiAIIndexerActionDAO
extends Object
implements IWikiAIIndexerActionDAO
WikiAIIndexerActionDAO provides data access methods for WikiAIIndexerAction objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes an indexer action by its identifiervoiddeleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes all indexer actionsvoidinsert(WikiAIIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new indexer actionload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads an indexer action by its identifierselectList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads all indexer actions
-
Constructor Details
-
WikiAIIndexerActionDAO
public WikiAIIndexerActionDAO()
-
-
Method Details
-
insert
public void insert(WikiAIIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new indexer action- Specified by:
insertin interfaceIWikiAIIndexerActionDAO- Parameters:
indexerAction- the indexer action to insertplugin- the plugin
-
load
Loads an indexer action by its identifier- Specified by:
loadin interfaceIWikiAIIndexerActionDAO- Parameters:
nId- the action identifierplugin- the plugin- Returns:
- the indexer action or null if not found
-
delete
public void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes an indexer action by its identifier- Specified by:
deletein interfaceIWikiAIIndexerActionDAO- Parameters:
nId- the action identifierplugin- the plugin
-
deleteAll
public void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes all indexer actions- Specified by:
deleteAllin interfaceIWikiAIIndexerActionDAO- Parameters:
plugin- the plugin
-
selectList
Loads all indexer actions- Specified by:
selectListin interfaceIWikiAIIndexerActionDAO- Parameters:
plugin- the plugin- Returns:
- the list of indexer actions
-