public class RatioXmlHtmlJRDataSourceProvider extends Object implements IJRDataSourceProvider
Constructor and Description |
---|
RatioXmlHtmlJRDataSourceProvider() |
Modifier and Type | Method and Description |
---|---|
net.sf.jasperreports.engine.JRDataSource |
create(net.sf.jasperreports.engine.JasperReport jasperreport,
Map<String,Object> parameters)
Creates a data source for the given report.
|
void |
dispose(net.sf.jasperreports.engine.JRDataSource jrDataSource)
Called when a data source created by
IJRDataSourceProvider.create(JasperReport, Map) is
no longer used. |
static net.sf.jasperreports.engine.JRDataSource |
getDataForTable(Date startDate,
Date endDate)
Returns the data source to be used in the table of the report.
|
public static net.sf.jasperreports.engine.JRDataSource getDataForTable(Date startDate, Date endDate) throws net.sf.jasperreports.engine.JRException
startDate
- the start of the period to be read from. If null
30 days previous to the current day will be used. The time part of the
date is ignored.endDate
- the end of the period to be read from. If null the current
day will be used. The time part of the date is ignored.net.sf.jasperreports.engine.JRException
public net.sf.jasperreports.engine.JRDataSource create(net.sf.jasperreports.engine.JasperReport jasperreport, Map<String,Object> parameters) throws net.sf.jasperreports.engine.JRException, PortalException
IJRDataSourceProvider
create
in interface IJRDataSourceProvider
jasperreport
- the report.parameters
- the parameters that are provided for the report.net.sf.jasperreports.engine.JRException
PortalException
public void dispose(net.sf.jasperreports.engine.JRDataSource jrDataSource) throws net.sf.jasperreports.engine.JRException, PortalException
IJRDataSourceProvider
IJRDataSourceProvider.create(JasperReport, Map)
is
no longer used.dispose
in interface IJRDataSourceProvider
jrDataSource
- the data source object.net.sf.jasperreports.engine.JRException
PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.