Interface IFormRuleDAO

All Known Implementing Classes:
FormRuleDAO

public interface IFormRuleDAO
FormRule DAO Interface
Author:
Laurent Payen
  • 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
  • Method Details

    • insert

      void insert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table
      Parameters:
      formRule - instance of the FormRule object to insert
      plugin - the plugin
    • update

      void update(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      formRule - the reference of the FormRule
      plugin - the plugin
    • delete

      void delete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nIdFormRule - identifier of the FormRule to delete
      plugin - the plugin
    • deleteByIdFom

      void deleteByIdFom(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nIdForm - identifier of the Form
      plugin - the plugin
    • select

      FormRule select(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nIdFormRule - the identifier of the FormRule
      plugin - the plugin
      Returns:
      the instance of the FormRule
    • findByIdForm

      FormRule findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the form rule of a form
      Parameters:
      nIdForm - the form id
      plugin - the plugin
      Returns:
      the form rule of the form