Interface IFormMessageDAO
- All Known Implementing Classes:
FormMessageDAO
public interface IFormMessageDAO
IFormFormMessageDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table for given formvoidinsert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data for the given id_formvoidstore(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
formMessage- instance of the FormMessage object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
formMessage- the reference of the FormMessageplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the FormMessage to deleteplugin- the Plugin
-
deleteByForm
void deleteByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table for given form- Parameters:
nIdForm- The form identifier of the FormMessage to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the FormMessageplugin- the Plugin- Returns:
- The instance of the FormMessage
-
selectByForm
Load the data for the given id_form- Parameters:
nIdForm- The identifier of the formplugin- the Plugin- Returns:
- The instance of the FormMessage
-