Interface IFormMessageDAO

All Known Implementing Classes:
FormMessageDAO

public interface IFormMessageDAO
Form Message DAO Interface
Author:
Laurent Payen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove a form message from its primary key
    void
    deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove a form message from
    findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the formMessage of the form given
    void
    insert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Create a form message
    select(int nIdFormMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get a form message from its primary key
    void
    update(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update a form message
  • Method Details

    • insert

      void insert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Create a form message
      Parameters:
      formMessage - The instance of the form message to create
      plugin - The plugin
    • update

      void update(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update a form message
      Parameters:
      formMessage - The form message to update
      plugin - The plugin
    • delete

      void delete(int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove a form message from its primary key
      Parameters:
      nAppointmentFormId - The id of the form
      plugin - The plugin
    • deleteByIdForm

      void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove a form message from
      Parameters:
      nFormId - The id of the form
      plugin - The plugin
    • select

      FormMessage select(int nIdFormMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get a form message from its primary key
      Parameters:
      nIdFormMessage - The id of the form message
      plugin - The plugin
      Returns:
      The form message, or null if no form message has the given primary key
    • findByIdForm

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