Class FormMessageHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void create​(FormMessage formMessage)
      Create a form message
      static void delete​(int nFormMessageId)
      Delete a form message from its primary key
      static void deleteByIdForm​(int nForm)
      Delete a form message whose id from is specified in the param
      static FormMessage findByIdForm​(int nIdForm)
      Returns the formMessage of the form
      static FormMessage findByPrimaryKey​(int nFormMessageId)
      Get a form message from its primary key
      static void update​(FormMessage formMessage)
      Update a form message
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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