public final class JasperReportDAO extends Object implements IJasperReportDAO
| Constructor and Description |
|---|
JasperReportDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nJasperReportId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(JasperReport report,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
JasperReport |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the report from the table
|
JasperReport |
loadByCode(String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
ArrayList<String> |
loadFileFormats(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the file formats
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<JasperReport> |
selectJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the reports and returns them as a collection
|
void |
store(JasperReport 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 void insert(JasperReport report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IJasperReportDAOreport - instance of the JasperReport object to insertplugin - The pluginpublic JasperReport load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IJasperReportDAOnId - The identifier of the reportplugin - The pluginpublic ArrayList<String> loadFileFormats(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - The identifier of the reportplugin - The pluginpublic void delete(int nJasperReportId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IJasperReportDAOnJasperReportId - The identifier of the reportplugin - The pluginpublic void store(JasperReport report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IJasperReportDAOreport - The reference of the reportplugin - The pluginpublic Collection<JasperReport> selectJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectJasperReportsList in interface IJasperReportDAOplugin - The pluginpublic JasperReport loadByCode(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByCode in interface IJasperReportDAOCopyright © 2022 City of Paris. All rights reserved.