|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.jasper.business.JasperReportDAO
public final class JasperReportDAO
This class provides Data Access methods for JasperReport objects
Constructor Summary | |
---|---|
JasperReportDAO()
|
Method Summary | |
---|---|
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 |
load(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
java.util.ArrayList<java.lang.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 |
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JasperReportDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
public void insert(JasperReport report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IJasperReportDAO
report
- instance of the JasperReport object to insertplugin
- The pluginpublic JasperReport load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IJasperReportDAO
nId
- The identifier of the reportplugin
- The plugin
public java.util.ArrayList<java.lang.String> loadFileFormats(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- The identifier of the reportplugin
- The plugin
public void delete(int nJasperReportId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IJasperReportDAO
nJasperReportId
- The identifier of the reportplugin
- The pluginpublic void store(JasperReport report, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IJasperReportDAO
report
- The reference of the reportplugin
- The pluginpublic java.util.Collection<JasperReport> selectJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectJasperReportsList
in interface IJasperReportDAO
plugin
- The plugin
public JasperReport load(java.lang.String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IJasperReportDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |