Class DisplayDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.display.DisplayDAO
-
- All Implemented Interfaces:
IDisplayDAO
public final class DisplayDAO extends Object implements IDisplayDAO
This class provides Data Access methods for Display objects- Author:
- Laurent Payen
-
-
Constructor Summary
Constructors Constructor Description DisplayDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(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 tableDisplayfindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the display of the given formvoidinsert(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Displayselect(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidupdate(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IDisplayDAOInsert a new record in the table.- Specified by:
insertin interfaceIDisplayDAO- Parameters:
display- instance of the Display object to insertplugin- the Plugin
-
update
public void update(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IDisplayDAOUpdate the record in the table- Specified by:
updatein interfaceIDisplayDAO- Parameters:
display- the reference of the Displayplugin- the Plugin
-
delete
public void delete(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IDisplayDAODelete a record from the table- Specified by:
deletein interfaceIDisplayDAO- Parameters:
nIdDisplay- identifier of the Display to deleteplugin- the Plugin
-
deleteByIdForm
public void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IDisplayDAODelete a record from the table- Specified by:
deleteByIdFormin interfaceIDisplayDAO- Parameters:
nIdForm- identifier of the formplugin- the Plugin
-
select
public Display select(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IDisplayDAOLoad the data from the table- Specified by:
selectin interfaceIDisplayDAO- Parameters:
nIdDisplay- The identifier of the Displayplugin- the Plugin- Returns:
- The instance of the Display
-
findByIdForm
public Display findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IDisplayDAOReturns the display of the given form- Specified by:
findByIdFormin interfaceIDisplayDAO- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form display
-
-