Class IndexerActionDAO

java.lang.Object
fr.paris.lutece.plugins.document.business.IndexerActionDAO
All Implemented Interfaces:
IIndexerActionDAO

public final class IndexerActionDAO extends Object implements IIndexerActionDAO
This class provides Data Access methods for Indexer Action objects
  • Field Details

  • Constructor Details

    • IndexerActionDAO

      public IndexerActionDAO()
  • Method Details

    • newPrimaryKey

      public int newPrimaryKey()
      Description copied from interface: IIndexerActionDAO
      Generates a new primary key
      Specified by:
      newPrimaryKey in interface IIndexerActionDAO
      Returns:
      The new primary key
    • insert

      public void insert(IndexerAction indexerAction)
      Description copied from interface: IIndexerActionDAO
      Insert a new record in the table.
      Specified by:
      insert in interface IIndexerActionDAO
      Parameters:
      indexerAction - instance of the IndexerAction object to insert
    • load

      public IndexerAction load(int nId)
      Description copied from interface: IIndexerActionDAO
      Load the data of the IndexerAction from the table
      Specified by:
      load in interface IIndexerActionDAO
      Parameters:
      nId - The identifier of the action
      Returns:
      the instance of the IndexerAction
    • delete

      public void delete(int nId)
      Description copied from interface: IIndexerActionDAO
      Delete a record from the table
      Specified by:
      delete in interface IIndexerActionDAO
      Parameters:
      nId - The identifier of the action
    • deleteAll

      public void deleteAll()
      Description copied from interface: IIndexerActionDAO
      Delete a record from the table
      Specified by:
      deleteAll in interface IIndexerActionDAO
    • store

      public void store(IndexerAction indexerAction)
      Description copied from interface: IIndexerActionDAO
      Update the indexerAction in the table
      Specified by:
      store in interface IIndexerActionDAO
      Parameters:
      indexerAction - instance of the IndexerAction object to update
    • selectList

      public List<IndexerAction> selectList(IndexerActionFilter filter)
      Description copied from interface: IIndexerActionDAO
      Load the data of all indexerAction and returns them in a list
      Specified by:
      selectList in interface IIndexerActionDAO
      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 query
      listStrFilter - the list of filter to add in the query
      strOrder - the order by of the query
      Returns:
      a query