public class QueryReportDataSource extends java.lang.Object implements ReportDataSource
Constructor and Description |
---|
QueryReportDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
gatherData(ReportExecutionContext execContext,
java.io.Serializable configObject)
Called when a report is being executed to gather the data represented by this data source.
|
java.lang.String |
getId()
Return the unique ID for this data source.
|
public java.lang.String getId()
ReportDataSource
getId
in interface ReportDataSource
public void gatherData(ReportExecutionContext execContext, java.io.Serializable configObject) throws java.lang.Exception
ReportDataSource
gatherData
in interface ReportDataSource
execContext
- This context holds the data map for the report, as well as other information about the report, its
project, logging context, status feedback, etc.configObject
- The object that was saved for this data source in the designer.java.lang.Exception