Class ExtractStoreDAO

java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ExtractStoreDAO
All Implemented Interfaces:
IExtractStoreDAO

public final class ExtractStoreDAO extends Object implements IExtractStoreDAO
This class provides Data Access methods for ExtractDaemon objects
  • Constructor Details

    • ExtractStoreDAO

      public ExtractStoreDAO()
  • Method Details

    • insert

      public void insert(ExportRequest extractDaemon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IExtractStoreDAO
      Parameters:
      extractDaemon - instance of the ExtractDaemon object to insert
      plugin - the Plugin
    • load

      public Optional<ExportRequest> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IExtractStoreDAO
      Parameters:
      nKey - The identifier of the extractDaemon
      plugin - the Plugin
      Returns:
      The instance of the extractDaemon
    • delete

      public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Specified by:
      delete in interface IExtractStoreDAO
      Parameters:
      nKey - The identifier of the ExtractDaemon to delete
      plugin - the Plugin
    • store

      public void store(ExportRequest extractDaemon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IExtractStoreDAO
      Parameters:
      extractDaemon - the reference of the ExtractDaemon
      plugin - the Plugin
    • selectExtractDaemonsList

      public List<ExportRequest> selectExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the extractDaemon objects and returns them as a list
      Specified by:
      selectExtractDaemonsList in interface IExtractStoreDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the extractDaemon objects
    • selectIdExtractDaemonsList

      public List<Integer> selectIdExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the extractDaemon objects and returns them as a list
      Specified by:
      selectIdExtractDaemonsList in interface IExtractStoreDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the extractDaemon objects
    • selectExtractDaemonsReferenceList

      public fr.paris.lutece.util.ReferenceList selectExtractDaemonsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the extractDaemon objects and returns them as a referenceList
      Specified by:
      selectExtractDaemonsReferenceList in interface IExtractStoreDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the extractDaemon objects
    • selectExtractDaemonsListByIds

      public List<ExportRequest> selectExtractDaemonsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Specified by:
      selectExtractDaemonsListByIds in interface IExtractStoreDAO
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects