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 IFormMessageDAO
formMessage
- instance of the FormMessage object to insertplugin
- the Pluginpublic FormMessage load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFormMessageDAO
nKey
- The identifier of the FormMessageplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFormMessageDAO
nKey
- The identifier of the FormMessage to deleteplugin
- the Pluginpublic void deleteByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByForm
in interface IFormMessageDAO
nIdForm
- 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 IFormMessageDAO
formMessage
- the reference of the FormMessageplugin
- the Pluginpublic FormMessage selectByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByForm
in interface IFormMessageDAO
nIdForm
- The identifier of the formplugin
- the PluginCopyright © 2020 City of Paris. All rights reserved.