Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.report.flow.DefaultFlowController
Constructor Summary | |
| |
|
Method Summary | |
FlowController |
|
FlowController | |
FlowController | |
ExpressionSlot[] |
|
String | |
GlobalMasterRow | |
PrecomputedValueRegistry | |
ReportContext | |
ReportJob | |
boolean | |
FlowController |
|
FlowController |
|
FlowController | |
FlowController |
|
protected DefaultFlowController(DefaultFlowController fc, GlobalMasterRow dataRow)
public DefaultFlowController(ReportContext reportContext, ReportJob job) throws DataSourceException
public FlowController activateExpressions(ExpressionSlot[] expressions) throws DataSourceException
- Specified by:
- activateExpressions in interface FlowController
public FlowController createPrecomputeInstance() throws DataSourceException
- Specified by:
- createPrecomputeInstance in interface FlowController
public FlowController deactivateExpressions() throws DataSourceException
- Specified by:
- deactivateExpressions in interface FlowController
public ExpressionSlot[] getActiveExpressions() throws DataSourceException
Returns the current expression slots of all currently active expressions.
- Specified by:
- getActiveExpressions in interface FlowController
- Returns:
- Throws:
DataSourceException
-
public String getExportDescriptor()
- Specified by:
- getExportDescriptor in interface FlowController
public GlobalMasterRow getMasterRow()
- Specified by:
- getMasterRow in interface FlowController
public PrecomputedValueRegistry getPrecomputedValueRegistry()
- Specified by:
- getPrecomputedValueRegistry in interface FlowController
public ReportContext getReportContext()
- Specified by:
- getReportContext in interface FlowController
public boolean isAdvanceRequested()
- Specified by:
- isAdvanceRequested in interface FlowController
public FlowController performOperation(FlowControlOperation operation) throws DataSourceException
- Specified by:
- performOperation in interface FlowController
public FlowController performQuery(String query) throws ReportDataFactoryException, DataSourceException
This should be called only once per report processing. A JFreeReport object defines the global master report - all other reports are subreport instances. The global master report receives its parameter set from the Job-Definition, while subreports will read their parameters from the current datarow state.
- Specified by:
- performQuery in interface FlowController
- Parameters:
query
-
- Returns:
- Throws:
ReportDataFactoryException
-DataSourceException
-
public FlowController performReturnFromQuery() throws DataSourceException
- Specified by:
- performReturnFromQuery in interface FlowController
public FlowController performSubReportQuery(String query, ParameterMapping[] inputParameters, ParameterMapping[] outputParameters) throws ReportDataFactoryException, DataSourceException
- Specified by:
- performSubReportQuery in interface FlowController