Class WikiAIIndexerActionHome
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.WikiAIIndexerActionHome
WikiAIIndexerActionHome provides management methods for WikiAIIndexerAction objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(WikiAIIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creates a new indexer actionstatic WikiAIIndexerActionfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Finds an indexer action by its identifierstatic List<WikiAIIndexerAction>getList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns all indexer actionsstatic voidremove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes an indexer action by its identifierstatic voidremoveAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes all indexer actions
-
Method Details
-
create
public static void create(WikiAIIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creates a new indexer action- Parameters:
indexerAction- the indexer action to createplugin- the plugin
-
remove
public static void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes an indexer action by its identifier- Parameters:
nId- the action identifierplugin- the plugin
-
removeAll
public static void removeAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes all indexer actions- Parameters:
plugin- the plugin
-
findByPrimaryKey
public static WikiAIIndexerAction findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Finds an indexer action by its identifier- Parameters:
nId- the action identifierplugin- the plugin- Returns:
- the indexer action or null if not found
-
getList
public static List<WikiAIIndexerAction> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns all indexer actions- Parameters:
plugin- the plugin- Returns:
- the list of indexer actions
-