java.lang.Object
fr.paris.lutece.plugins.appointment.business.localization.LocalizationDAO
All Implemented Interfaces:
ILocalizationDAO

public final class LocalizationDAO extends Object implements ILocalizationDAO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the Localization of the given form
    void
    insert(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    select(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    void
    update(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table

    Methods inherited from class java.lang.Object

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

    • LocalizationDAO

      public LocalizationDAO()
  • Method Details

    • insert

      public void insert(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Insert a new record in the table.
      Specified by:
      insert in interface ILocalizationDAO
      Parameters:
      localization - instance of the Localization object to insert
      plugin - the Plugin
    • update

      public void update(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Update the record in the table
      Specified by:
      update in interface ILocalizationDAO
      Parameters:
      localization - the reference of the Localization
      plugin - the Plugin
    • delete

      public void delete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Delete a record from the table
      Specified by:
      delete in interface ILocalizationDAO
      Parameters:
      nIdLocalization - identifier of the Localization to delete
      plugin - the Plugin
    • deleteByIdForm

      public void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Delete a record from the table
      Specified by:
      deleteByIdForm in interface ILocalizationDAO
      Parameters:
      nIdForm - identifier of the id form
      plugin - the Plugin
    • select

      public Localization select(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Load the data from the table
      Specified by:
      select in interface ILocalizationDAO
      Parameters:
      nIdLocalization - The identifier of the Localization
      plugin - the Plugin
      Returns:
      The instance of the Localization
    • findByIdForm

      public Localization findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ILocalizationDAO
      Returns the Localization of the given form
      Specified by:
      findByIdForm in interface ILocalizationDAO
      Parameters:
      nIdForm - the form id
      plugin - the plugin
      Returns:
      the form Localization