Interface ISolrIndexerActionDAO

  • All Known Implementing Classes:
    SolrIndexerActionDAO

    public interface ISolrIndexerActionDAO
    IIndexerActionDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      SolrIndexerAction load​(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the IndexerAction from the table
      int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Generates a new primary key
      List<SolrIndexerAction> selectList​(fr.paris.lutece.portal.business.indexeraction.IndexerActionFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all indexerAction and returns them in a list
      List<SolrIndexerAction> selectList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all indexerAction
      void store​(SolrIndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the indexerAction in the table
    • Method Detail

      • newPrimaryKey

        int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Generates a new primary key
        Parameters:
        plugin - the plugin
        Returns:
        The new primary key
      • insert

        void insert​(SolrIndexerAction indexerAction,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        indexerAction - instance of the IndexerAction object to insert
        plugin - the plugin
      • load

        SolrIndexerAction load​(int nId,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of the IndexerAction from the table
        Parameters:
        nId - The identifier of the action
        plugin - the plugin
        Returns:
        the instance of the IndexerAction
      • delete

        void delete​(int nId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nId - The identifier of the action
        plugin - the plugin
      • deleteAll

        void deleteAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        plugin - the plugin
      • store

        void store​(SolrIndexerAction indexerAction,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the indexerAction in the table
        Parameters:
        indexerAction - instance of the IndexerAction object to update
        plugin - the plugin
      • selectList

        List<SolrIndexerAction> selectList​(fr.paris.lutece.portal.business.indexeraction.IndexerActionFilter filter,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all indexerAction and returns them in a list
        Parameters:
        filter - the search filter
        plugin - the plugin
        Returns:
        The List which contains the data of all action
      • selectList

        List<SolrIndexerAction> selectList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all indexerAction
        Parameters:
        plugin - the plugin
        Returns:
        The List which contains the data of all action