public final class FormRuleDAO extends UtilDAO implements IFormRuleDAO
BEAN_NAME
Constructor and Description |
---|
FormRuleDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdFormRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
FormRule |
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
|
FormRule |
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
|
getNewPrimaryKey
public void insert(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormRuleDAO
insert
in interface IFormRuleDAO
formRule
- instance of the FormRule object to insertplugin
- the pluginpublic void update(FormRule formRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormRuleDAO
update
in interface IFormRuleDAO
formRule
- the reference of the FormRuleplugin
- the pluginpublic void delete(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormRuleDAO
delete
in interface IFormRuleDAO
nIdFormRule
- identifier of the FormRule to deleteplugin
- the pluginpublic FormRule select(int nIdFormRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormRuleDAO
select
in interface IFormRuleDAO
nIdFormRule
- the identifier of the FormRuleplugin
- the pluginpublic FormRule findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormRuleDAO
findByIdForm
in interface IFormRuleDAO
nIdForm
- the form idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.