public final class JasperReportHome extends Object
Modifier and Type | Method and Description |
---|---|
static JasperReport |
create(JasperReport jasperReport,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the jasperReport class
|
static JasperReport |
findByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static JasperReport |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a jasperReport whose identifier is specified in parameter
|
static Collection<JasperReport> |
getJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the jasperReport objects and returns them in form of a collection
|
static void |
remove(int nJasperReportId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the jasperReport whose identifier is specified in parameter
|
static JasperReport |
update(JasperReport jasperReport,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the jasperReport which is specified in parameter
|
public static JasperReport create(JasperReport jasperReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
jasperReport
- The instance of the JasperReport which contains the informations to storeplugin
- the Pluginpublic static JasperReport update(JasperReport jasperReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
jasperReport
- The instance of the JasperReport which contains the data to storeplugin
- the Pluginpublic static void remove(int nJasperReportId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nJasperReportId
- The jasperReport Idplugin
- the Pluginpublic static JasperReport findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The jasperReport primary keyplugin
- the Pluginpublic static Collection<JasperReport> getJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Pluginpublic static JasperReport findByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCode
- plugin
- Copyright © 2019 City of Paris. All rights reserved.