Interface IFormMessageDAO

  • All Known Implementing Classes:
    FormMessageDAO

    public interface IFormMessageDAO
    IFormFormMessageDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByForm​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table for given form
      void insert​(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      FormMessage load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      FormMessage selectByForm​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data for the given id_form
      void store​(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

        void deleteByForm​(int nIdForm,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table for given form
        Parameters:
        nIdForm - The form identifier of the FormMessage to delete
        plugin - the Plugin
      • load

        FormMessage load​(int nKey,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the FormMessage
        plugin - the Plugin
        Returns:
        The instance of the FormMessage
      • selectByForm

        FormMessage selectByForm​(int nIdForm,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data for the given id_form
        Parameters:
        nIdForm - The identifier of the form
        plugin - the Plugin
        Returns:
        The instance of the FormMessage