| org.jfree.report.ReportDataFactory
All known Subclasses: org.jfree.report.modules.data.beans.StaticReportDataFactory, org.jfree.report.data.CachingReportDataFactory, org.jfree.report.modules.data.sql.SimpleSQLReportDataFactory, org.jfree.report.TableReportDataFactory, org.jfree.report.EmptyReportDataFactory,
ReportDataFactory | public interface ReportDataFactory (Code) | | The report data-factory is responsible for querying the data from arbitary
datasources.
author: Thomas Morgner |
Method Summary | |
public void | close() Closes the report data factory and all report data instances that have
been returned by this instance. | public ReportDataFactory | derive() Derives a freshly initialized report data factory, which is independend
of the original data factory. | public void | open() | public ReportData | queryData(String query, DataSet parameters) Queries a datasource. |
close | public void close()(Code) | | Closes the report data factory and all report data instances that have
been returned by this instance.
|
derive | public ReportDataFactory derive()(Code) | | Derives a freshly initialized report data factory, which is independend
of the original data factory. Opening or Closing one data factory must not
affect the other factories.
|
queryData | public ReportData queryData(String query, DataSet parameters) throws ReportDataFactoryException(Code) | | Queries a datasource. The string 'query' defines the name of the query.
The Parameterset given here may contain more data than actually needed.
The dataset may change between two calls, do not assume anything!
Parameters: query - Parameters: parameters - |
|
|