Interface IExtractionDAO

All Known Implementing Classes:
ExtractionDAO

public interface IExtractionDAO
IExtractionDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    deleteFromProfil(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    insert(ExportAttribute extraction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectExtractionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the extraction objects and returns them as a list
    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
    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
    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
    selectIdExtractionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the extraction objects and returns them as a list
    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
    void
    store(ExportAttribute extraction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

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

      void store(ExportAttribute extraction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      extraction - the reference of the Extraction
      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 Extraction to delete
      plugin - the Plugin
    • load

      Optional<ExportAttribute> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nKey - The identifier of the extraction
      plugin - the Plugin
      Returns:
      The instance of the extraction
    • selectExtractionsList

      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
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the extraction objects
    • selectIdExtractionsList

      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
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the extraction objects
    • selectExtractionsReferenceList

      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
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the extraction objects
    • selectExtractionsListByIds

      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
      Parameters:
      plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectExtractionsListByIdProfil

      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
      Parameters:
      plugin - the Plugin
      nIdProfil - id profil
      Returns:
      The list which contains the data of all the avant objects
    • selectIdExtractionsListByIdProfil

      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
      Parameters:
      plugin - the Plugin
      nIdProfil - id profil
      Returns:
      The list which contains the id of all the extraction objects
    • deleteFromProfil

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