public final class FormMessageDAO extends Object implements IFormMessageDAO
| Constructor and Description |
|---|
FormMessageDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table for given form
|
void |
insert(FormMessage formMessage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
FormMessage |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
FormMessage |
selectByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data for the given id_form
|
void |
store(FormMessage formMessage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFormMessageDAOformMessage - instance of the FormMessage object to insertplugin - the Pluginpublic FormMessage load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFormMessageDAOnKey - The identifier of the FormMessageplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFormMessageDAOnKey - The identifier of the FormMessage to deleteplugin - the Pluginpublic void deleteByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByForm in interface IFormMessageDAOnIdForm - The form identifier of the FormMessage to deleteplugin - the Pluginpublic void store(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFormMessageDAOformMessage - the reference of the FormMessageplugin - the Pluginpublic FormMessage selectByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByForm in interface IFormMessageDAOnIdForm - The identifier of the formplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.