Class ExportFormatDAO

java.lang.Object
fr.paris.lutece.plugins.form.business.ExportFormatDAO
All Implemented Interfaces:
IExportFormatDAO

public final class ExportFormatDAO extends Object implements IExportFormatDAO
This class provides Data Access methods for ReportingFiche objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdExport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    fr.paris.lutece.util.ReferenceList
    getListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the export format returns them in a reference list
    void
    insert(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the export format from the table
    int
    newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Generates a new primary key
    selectListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the ExportFormat and returns them in form of a list
    void
    store(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the exportFormat in the table

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExportFormatDAO

      public ExportFormatDAO()
  • Method Details

    • newPrimaryKey

      public 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

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

      public ExportFormat load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the export format from the table
      Specified by:
      load in interface IExportFormatDAO
      Parameters:
      nId - The identifier of the export format
      plugin - the plugin
      Returns:
      the instance of the ExportFormat
    • delete

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

      public void store(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the exportFormat in the table
      Specified by:
      store in interface IExportFormatDAO
      Parameters:
      exportFormat - instance of the ExportFormat object to update
      plugin - the plugin
    • selectListExport

      public List<ExportFormat> selectListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the ExportFormat and returns them in form of a list
      Specified by:
      selectListExport in interface IExportFormatDAO
      Parameters:
      plugin - the plugin
      Returns:
      The List which contains the data of all the ExportFormat
    • getListExport

      public fr.paris.lutece.util.ReferenceList getListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the export format returns them in a reference list
      Specified by:
      getListExport in interface IExportFormatDAO
      Parameters:
      plugin - the plugin
      Returns:
      a reference list of export format