java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ExtractionDAO
All Implemented Interfaces:
IExtractionDAO

public final class ExtractionDAO extends Object implements IExtractionDAO
This class provides Data Access methods for Extraction objects
  • Constructor Details

    • ExtractionDAO

      public ExtractionDAO()
  • Method Details

    • insert

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

      public Optional<ExportAttribute> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IExtractionDAO
      Parameters:
      nKey - The identifier of the extraction
      plugin - the Plugin
      Returns:
      The instance of the extraction
    • 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 IExtractionDAO
      Parameters:
      nKey - The identifier of the Extraction to delete
      plugin - the Plugin
    • deleteFromProfil

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

      public void store(ExportAttribute extraction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IExtractionDAO
      Parameters:
      extraction - the reference of the Extraction
      plugin - the Plugin
    • selectExtractionsList

      public List<ExportAttribute> selectExtractionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the extraction objects and returns them as a list
      Specified by:
      selectExtractionsList in interface IExtractionDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the extraction objects
    • selectIdExtractionsList

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

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

      public List<ExportAttribute> selectExtractionsListByIds(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:
      selectExtractionsListByIds in interface IExtractionDAO
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectExtractionsListByIdProfil

      public List<ExportAttribute> selectExtractionsListByIdProfil(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdProfil)
      Load the data of all the avant objects and returns them as a list
      Specified by:
      selectExtractionsListByIdProfil in interface IExtractionDAO
      Parameters:
      plugin - the Plugin
      nIdProfil - id profil
      Returns:
      The list which contains the data of all the avant objects
    • selectIdExtractionsListByIdProfil

      public List<Integer> selectIdExtractionsListByIdProfil(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdProfil)
      Load the id of all the extraction objects and returns them as a list
      Specified by:
      selectIdExtractionsListByIdProfil in interface IExtractionDAO
      Parameters:
      plugin - the Plugin
      nIdProfil - id profil
      Returns:
      The list which contains the id of all the extraction objects