| java.lang.Object org.jfree.report.states.CachingDataFactory
CachingDataFactory | public class CachingDataFactory implements DataFactory(Code) | | Creation-Date: 19.11.2006, 13:35:45
author: Thomas Morgner |
Method Summary | |
public synchronized void | close() Closes the report data factory and all report data instances that have been returned by this instance. | public DataFactory | derive() Derives a freshly initialized report data factory, which is independend of the original data factory. | public void | open() | public static void | printTableModelContents(TableModel mod) Prints a table model to standard output. | public TableModel | queryData(String query, DataRow parameters) Queries a datasource. |
close | public synchronized void close()(Code) | | Closes the report data factory and all report data instances that have been returned by this instance.
|
derive | public DataFactory 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.
|
printTableModelContents | public static void printTableModelContents(TableModel mod)(Code) | | Prints a table model to standard output.
Parameters: mod - the model. |
queryData | public TableModel queryData(String query, DataRow 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 - |
|
|