java.lang.Object
fr.paris.lutece.plugins.appointment.business.rule.FormRuleDAO
All Implemented Interfaces:
IFormRuleDAO

public final class FormRuleDAO extends Object implements IFormRuleDAO
This class provides Data Access methods for Form Rule objects
Author:
Laurent Payen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    deleteByIdFom(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the form rule of a form
    void
    insert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table
    select(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    void
    update(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table

    Methods inherited from class java.lang.Object

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

    • FormRuleDAO

      public FormRuleDAO()
  • Method Details

    • insert

      public void insert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Insert a new record in the table
      Specified by:
      insert in interface IFormRuleDAO
      Parameters:
      formRule - instance of the FormRule object to insert
      plugin - the plugin
    • update

      public void update(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Update the record in the table
      Specified by:
      update in interface IFormRuleDAO
      Parameters:
      formRule - the reference of the FormRule
      plugin - the plugin
    • delete

      public void delete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Delete a record from the table
      Specified by:
      delete in interface IFormRuleDAO
      Parameters:
      nIdFormRule - identifier of the FormRule to delete
      plugin - the plugin
    • deleteByIdFom

      public void deleteByIdFom(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Delete a record from the table
      Specified by:
      deleteByIdFom in interface IFormRuleDAO
      Parameters:
      nIdForm - identifier of the Form
      plugin - the plugin
    • select

      public FormRule select(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Load the data from the table
      Specified by:
      select in interface IFormRuleDAO
      Parameters:
      nIdFormRule - the identifier of the FormRule
      plugin - the plugin
      Returns:
      the instance of the FormRule
    • findByIdForm

      public FormRule findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IFormRuleDAO
      Returns the form rule of a form
      Specified by:
      findByIdForm in interface IFormRuleDAO
      Parameters:
      nIdForm - the form id
      plugin - the plugin
      Returns:
      the form rule of the form