java.lang.Object
fr.paris.lutece.plugins.appointment.business.message.FormMessageDAO
All Implemented Interfaces:
IFormMessageDAO

@ApplicationScoped public class FormMessageDAO extends Object implements IFormMessageDAO
This class provides Data Access methods for Form Message objects
Author:
Laurent Payen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdFormMessage, 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

    Methods inherited from class java.lang.Object

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

    • FormMessageDAO

      public FormMessageDAO()
  • Method Details

    • insert

      public void insert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormMessageDAO
      Create a form message
      Specified by:
      insert in interface IFormMessageDAO
      Parameters:
      formMessage - The instance of the form message to create
      plugin - The plugin
    • update

      public void update(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormMessageDAO
      Update a form message
      Specified by:
      update in interface IFormMessageDAO
      Parameters:
      formMessage - The form message to update
      plugin - The plugin
    • delete

      public void delete(int nIdFormMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormMessageDAO
      Remove a form message from its primary key
      Specified by:
      delete in interface IFormMessageDAO
      Parameters:
      nIdFormMessage - The id of the form
      plugin - The plugin
    • deleteByIdForm

      public void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormMessageDAO
      Remove a form message from
      Specified by:
      deleteByIdForm in interface IFormMessageDAO
      plugin - The plugin
    • select

      public FormMessage select(int nIdFormMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormMessageDAO
      Get a form message from its primary key
      Specified by:
      select in interface IFormMessageDAO
      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

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