Class FormRuleHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FormRule create​(FormRule formRule)
      Create an instance of the FormRule class
      static void delete​(int nKey)
      Delete the FormRule whose identifier is specified in parameter
      static void deleteByIdFom​(int nIdForm)
      Delete the FormRule whose id form is specified in parameter
      static FormRule findByIdForm​(int nIdForm)
      Returns the form rule of a form
      static FormRule findByPrimaryKey​(int nKey)
      Returns an instance of the FormRule whose identifier is specified in parameter
      static FormRule update​(FormRule formRule)
      Update of the FormRule which is specified in parameter
      • Methods inherited from class java.lang.Object

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

      • create

        public static FormRule create​(FormRule formRule)
        Create an instance of the FormRule class
        Parameters:
        formRule - The instance of the FormRule which contains the informations to store
        Returns:
        The instance of the FormRule which has been created with its primary key.
      • update

        public static FormRule update​(FormRule formRule)
        Update of the FormRule which is specified in parameter
        Parameters:
        formRule - The instance of the FormRule which contains the data to store
        Returns:
        The instance of the FormRule which has been updated
      • delete

        public static void delete​(int nKey)
        Delete the FormRule whose identifier is specified in parameter
        Parameters:
        nKey - The FormRule Id
      • deleteByIdFom

        public static void deleteByIdFom​(int nIdForm)
        Delete the FormRule whose id form is specified in parameter
        Parameters:
        nIdForm - The Form Id
      • findByPrimaryKey

        public static FormRule findByPrimaryKey​(int nKey)
        Returns an instance of the FormRule whose identifier is specified in parameter
        Parameters:
        nKey - The FormRule primary key
        Returns:
        an instance of the FormRule
      • findByIdForm

        public static FormRule findByIdForm​(int nIdForm)
        Returns the form rule of a form
        Parameters:
        nIdForm - the form id
        Returns:
        the form rule