Interface ILocalizationDAO

  • All Known Implementing Classes:
    LocalizationDAO

    public interface ILocalizationDAO
    Localization DAO Interface
    Author:
    Laurent Payen
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • insert

        void insert​(Localization localization,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        localization - instance of the Localization object to insert
        plugin - the Plugin
      • update

        void update​(Localization localization,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        localization - the reference of the Localization
        plugin - the Plugin
      • delete

        void delete​(int nIdLocalization,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdLocalization - identifier of the Localization to delete
        plugin - the Plugin
      • deleteByIdForm

        void deleteByIdForm​(int nIdForm,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdForm - identifier of the id form
        plugin - the Plugin
      • select

        Localization select​(int nIdLocalization,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdLocalization - The identifier of the Localization
        plugin - the Plugin
        Returns:
        The instance of the Localization
      • findByIdForm

        Localization findByIdForm​(int nIdForm,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Returns the Localization of the given form
        Parameters:
        nIdForm - the form id
        plugin - the plugin
        Returns:
        the form Localization