|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRHierarchicalDataSource
A JRHierarchicalDataSource provides data for JReport to generate reports. JRHierarchicalDataSource class is developed by users of JReport, and it can provide data from a flat file, non-relational database, or application data. The data returned by this class is in JRHierarchicalDataset object, so users need to create JRHierarchicalDataset instance and JReport will use the instance to fetch data. Users can also create their own JRHierarchicalDataset class.
Method Summary | |
---|---|
JRHierarchicalDataset |
getHierarchicalDataset(java.lang.String param)
Gets the data in JRHierarchicalDataset according to parameters. |
void |
releaseHierarchicalDataset()
Releases the data and related resources. |
void |
setUsedFields(UFakeHDSTable root)
JReport Engine sends the used database fields back after parsing the entire report template. |
Method Detail |
---|
JRHierarchicalDataset getHierarchicalDataset(java.lang.String param) throws JRUserDataSourceException
param
- the parameter as input to specify the data.
JRUserDataSourceException
- if a data access error occurs.void releaseHierarchicalDataset() throws JRUserDataSourceException
JRUserDataSourceException
- if a data access error occurs.void setUsedFields(UFakeHDSTable root)
refer
- to jet.universe.engine.UFakeHDSTable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |