Interface IFormRuleDAO
- All Known Implementing Classes:
FormRuleDAO
public interface IFormRuleDAO
FormRule DAO Interface
- Author:
- Laurent Payen
-
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
-
Method Details
-
insert
Insert a new record in the table- Parameters:
formRule- instance of the FormRule object to insertplugin- the plugin
-
update
Update the record in the table- Parameters:
formRule- the reference of the FormRuleplugin- 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 deleteplugin- 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 Formplugin- the plugin
-
select
Load the data from the table- Parameters:
nIdFormRule- the identifier of the FormRuleplugin- the plugin- Returns:
- the instance of the FormRule
-
findByIdForm
Returns the form rule of a form- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form rule of the form
-