Class FormRuleDAO
java.lang.Object
fr.paris.lutece.plugins.appointment.business.rule.FormRuleDAO
- All Implemented Interfaces:
IFormRuleDAO
This class provides Data Access methods for Form Rule objects
- Author:
- Laurent Payen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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 tablefindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the form rule of a formvoidInsert a new record in the tableselect(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidUpdate the record in the table
-
Constructor Details
-
FormRuleDAO
public FormRuleDAO()
-
-
Method Details
-
insert
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
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
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
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
-