public final class ReportDAO extends Object implements IReportDAO
| Constructor and Description |
|---|
ReportDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Report |
insert(Report report,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Report |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Integer> |
selectIdReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the report objects and returns them as a collection
|
Collection<Report> |
selectReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the report objects and returns them as a collection
|
void |
store(Report report,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic Report insert(Report report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IReportDAOreport - instance of the Report object to insertplugin - the Pluginpublic Report load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IReportDAOnKey - The identifier of the reportplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IReportDAOnKey - The identifier of the Report to deleteplugin - the Pluginpublic void store(Report report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IReportDAOreport - the reference of the Reportplugin - the Pluginpublic Collection<Report> selectReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReportsList in interface IReportDAOplugin - the Pluginpublic Collection<Integer> selectIdReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdReportsList in interface IReportDAOplugin - the PluginCopyright © 2016 City of Paris. All rights reserved.