java.lang.Object
fr.paris.lutece.plugins.appointment.business.message.FormMessageHome

public final class FormMessageHome extends Object
This class provides instances management methods for Form Message objects
Author:
Laurent Payen
  • Method Details

    • create

      public static void create(FormMessage formMessage)
      Create a form message
      Parameters:
      formMessage - The instance of the form message to create
    • update

      public static void update(FormMessage formMessage)
      Update a form message
      Parameters:
      formMessage - The form message to update
    • delete

      public static void delete(int nFormMessageId)
      Delete a form message from its primary key
      Parameters:
      nFormMessageId - The id of the form message
    • deleteByIdForm

      public static void deleteByIdForm(int nForm)
      Delete a form message whose id from is specified in the param
      Parameters:
      nIForm - The id of the form
    • findByPrimaryKey

      public static FormMessage findByPrimaryKey(int nFormMessageId)
      Get a form message from its primary key
      Parameters:
      nFormMessageId - The id of the form message
      Returns:
      The form message, or null if no form message has the given primary key
    • findByIdForm

      public static FormMessage findByIdForm(int nIdForm)
      Returns the formMessage of the form
      Parameters:
      nIdForm - the form id
      Returns:
      the formMessage of the form