Interface IDisplayDAO
- All Known Implementing Classes:
DisplayDAO
public interface IDisplayDAO
Display DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the display of the given formvoidInsert a new record in the table.select(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
display- instance of the Display object to insertplugin- the Plugin
-
update
Update the record in the table- Parameters:
display- the reference of the Displayplugin- the Plugin
-
delete
void delete(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdDisplay- identifier of the Display to deleteplugin- the Plugin
-
deleteByIdForm
void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdForm- identifier of the formplugin- the Plugin
-
select
Load the data from the table- Parameters:
nIdDisplay- The identifier of the Displayplugin- the Plugin- Returns:
- The instance of the Display
-
findByIdForm
Returns the display of the given form- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form display
-