Class FormRuleDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.rule.FormRuleDAO
-
- All Implemented Interfaces:
IFormRuleDAO
public final class FormRuleDAO extends java.lang.Object implements IFormRuleDAO
This class provides Data Access methods for Form Rule objects- Author:
- Laurent Payen
-
-
Constructor Summary
Constructors Constructor Description FormRuleDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByIdFom(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableFormRulefindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the form rule of a formvoidinsert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the tableFormRuleselect(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidupdate(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IFormRuleDAOInsert a new record in the table- Specified by:
insertin interfaceIFormRuleDAO- Parameters:
formRule- instance of the FormRule object to insertplugin- the plugin
-
update
public void update(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IFormRuleDAOUpdate the record in the table- Specified by:
updatein interfaceIFormRuleDAO- Parameters:
formRule- the reference of the FormRuleplugin- the plugin
-
delete
public void delete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IFormRuleDAODelete a record from the table- Specified by:
deletein interfaceIFormRuleDAO- Parameters:
nIdFormRule- identifier of the FormRule to deleteplugin- the plugin
-
deleteByIdFom
public void deleteByIdFom(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IFormRuleDAODelete a record from the table- Specified by:
deleteByIdFomin interfaceIFormRuleDAO- Parameters:
nIdForm- identifier of the Formplugin- the plugin
-
select
public FormRule select(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IFormRuleDAOLoad the data from the table- Specified by:
selectin interfaceIFormRuleDAO- Parameters:
nIdFormRule- the identifier of the FormRuleplugin- 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:IFormRuleDAOReturns the form rule of a form- Specified by:
findByIdFormin interfaceIFormRuleDAO- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form rule of the form
-
-