Class WikiAIIndexerActionHome

java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.WikiAIIndexerActionHome

public final class WikiAIIndexerActionHome extends Object
WikiAIIndexerActionHome provides management methods for WikiAIIndexerAction objects
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    create(WikiAIIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creates a new indexer action
    findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Finds an indexer action by its identifier
    getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns all indexer actions
    static void
    remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Removes an indexer action by its identifier
    static void
    removeAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Removes all indexer actions

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 create
      plugin - 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 identifier
      plugin - 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 identifier
      plugin - 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