Interface IIndexerActionDAO

  • All Known Implementing Classes:
    IndexerActionDAO

    public interface IIndexerActionDAO
    IIndexerActionDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByIdResourceList​(java.util.List<java.lang.String> listIdResource, java.lang.String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the records from the table by resource identifiers
      void insert​(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<IndexerAction> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      IndexerAction loadByIdResource​(java.lang.String strIdResource, java.lang.String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<java.lang.Integer> selectIdIndexerActionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the indexerAction objects and returns them as a list
      java.util.List<java.lang.String> selectIdResourceIndexerActionsList​(java.lang.String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the IdResource of all the indexerAction objects and returns them as a list
      java.util.List<IndexerAction> selectIndexerActionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the indexerAction objects and returns them as a list
      java.util.List<IndexerAction> selectIndexerActionsList​(java.lang.String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the indexerAction objects and returns them as a list
      java.util.List<IndexerAction> selectIndexerActionsList​(java.lang.String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the indexerAction objects and returns them as a list
      java.util.List<IndexerAction> selectIndexerActionsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectIndexerActionsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the indexerAction objects and returns them as a referenceList
      void store​(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(IndexerAction 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
      • store

        void store​(IndexerAction indexerAction,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        indexerAction - the reference of the IndexerAction
        plugin - the Plugin
      • delete

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

        void deleteByIdResourceList​(java.util.List<java.lang.String> listIdResource,
                                    java.lang.String strIdDataSource,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete the records from the table by resource identifiers
        Parameters:
        listIdResource - The list of resource identifiers
        strIdDataSource - The id of datasource
        plugin - the Plugin
      • load

        java.util.Optional<IndexerAction> load​(int nKey,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the indexerAction
        plugin - the Plugin
        Returns:
        The instance of the indexerAction
      • loadByIdResource

        IndexerAction loadByIdResource​(java.lang.String strIdResource,
                                       java.lang.String strIdDataSource,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        strIdResource - The identifier of the resource
        strIdDataSource - the identifier of the DataSource
        plugin - the Plugin
        Returns:
        The instance of the indexerAction
      • selectIndexerActionsList

        java.util.List<IndexerAction> selectIndexerActionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the indexerAction objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the indexerAction objects
      • selectIndexerActionsList

        java.util.List<IndexerAction> selectIndexerActionsList​(java.lang.String strIdDataSource,
                                                               int nIdTask,
                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the indexerAction objects and returns them as a list
        Parameters:
        strIdDataSource - the identifier of data source
        plugin - the Plugin
        Returns:
        The list which contains the data of all the indexerAction objects
      • selectIndexerActionsList

        java.util.List<IndexerAction> selectIndexerActionsList​(java.lang.String strIdDataSource,
                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the indexerAction objects and returns them as a list
        Parameters:
        strIdDataSource - the identifier of data source
        nIdTask - the identifier of task
        plugin - the Plugin
        Returns:
        The list which contains the data of all the indexerAction objects
      • selectIdIndexerActionsList

        java.util.List<java.lang.Integer> selectIdIndexerActionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the indexerAction objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the indexerAction objects
      • selectIdResourceIndexerActionsList

        java.util.List<java.lang.String> selectIdResourceIndexerActionsList​(java.lang.String strIdDataSource,
                                                                            int nIdTask,
                                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the IdResource of all the indexerAction objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the IdResource of all the indexerAction objects
      • selectIndexerActionsReferenceList

        fr.paris.lutece.util.ReferenceList selectIndexerActionsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the indexerAction objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the indexerAction objects
      • selectIndexerActionsListByIds

        java.util.List<IndexerAction> selectIndexerActionsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                    java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects