Interface IFormMessageDAO
- All Known Implementing Classes:
FormMessageDAO
public interface IFormMessageDAO
Form Message DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove a form message from its primary keyvoiddeleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove a form message fromfindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the formMessage of the form givenvoidinsert(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a form messageselect(int nIdFormMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get a form message from its primary keyvoidupdate(FormMessage formMessage, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update a form message
-
Method Details
-
insert
Create a form message- Parameters:
formMessage- The instance of the form message to createplugin- The plugin
-
update
Update a form message- Parameters:
formMessage- The form message to updateplugin- The plugin
-
delete
void delete(int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove a form message from its primary key- Parameters:
nAppointmentFormId- The id of the formplugin- The plugin
-
deleteByIdForm
void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove a form message from- Parameters:
nFormId- The id of the formplugin- The plugin
-
select
Get a form message from its primary key- Parameters:
nIdFormMessage- The id of the form messageplugin- The plugin- Returns:
- The form message, or null if no form message has the given primary key
-
findByIdForm
Returns the formMessage of the form given- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the formMessage of the form
-