public final class DisplayDAO extends UtilDAO implements IDisplayDAO
BEAN_NAME
Constructor and Description |
---|
DisplayDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdDisplay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Display |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the display of the given form
|
void |
insert(Display display,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Display |
select(int nIdDisplay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(Display display,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
getNewPrimaryKey
public void insert(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IDisplayDAO
insert
in interface IDisplayDAO
display
- instance of the Display object to insertplugin
- the Pluginpublic void update(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IDisplayDAO
update
in interface IDisplayDAO
display
- the reference of the Displayplugin
- the Pluginpublic void delete(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IDisplayDAO
delete
in interface IDisplayDAO
nIdDisplay
- identifier of the Display to deleteplugin
- the Pluginpublic Display select(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IDisplayDAO
select
in interface IDisplayDAO
nIdDisplay
- The identifier of the Displayplugin
- the Pluginpublic Display findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IDisplayDAO
findByIdForm
in interface IDisplayDAO
nIdForm
- the form idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.