Class LocalizationDAO

    • Constructor Summary

      Constructors 
      Constructor Description
      LocalizationDAO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      Localization 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.
      Localization 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
    • Constructor Detail

      • LocalizationDAO

        public LocalizationDAO()
    • Method Detail

      • 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