Package org.jfree.report.flow
Interface FlowController
- All Known Implementing Classes:
DefaultFlowController
public interface FlowController
A flow-controller is an immutable object. Whenever an method, that may change
the internal state of the controller, is invoked, a new instance of the
controller is returned.
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionactivateExpressions
(ExpressionSlot[] expressions) Activates expressions that compute running values.Returns the current expression slots of all currently active expressions.boolean
performOperation
(FlowControlOperation operation) performQuery
(String query) performSubReportQuery
(String query, ParameterMapping[] inputParameters, ParameterMapping[] outputParameters)
-
Method Details
-
performOperation
- Throws:
DataSourceException
-
getMasterRow
GlobalMasterRow getMasterRow() -
getReportContext
ReportContext getReportContext() -
getExportDescriptor
String getExportDescriptor() -
isAdvanceRequested
boolean isAdvanceRequested() -
performQuery
-
performSubReportQuery
FlowController performSubReportQuery(String query, ParameterMapping[] inputParameters, ParameterMapping[] outputParameters) throws ReportDataFactoryException, DataSourceException -
activateExpressions
Activates expressions that compute running values. This does not activate precomputed expressions.- Parameters:
expressions
-- Returns:
- Throws:
DataSourceException
-
getActiveExpressions
Returns the current expression slots of all currently active expressions. (Maybe we should limit the access to the name and value of the expression instead?)- Returns:
- Throws:
DataSourceException
-
deactivateExpressions
- Throws:
DataSourceException
-
getReportJob
ReportJob getReportJob() -
performReturnFromQuery
- Throws:
DataSourceException
-
createPrecomputeInstance
- Throws:
DataSourceException
-
getPrecomputedValueRegistry
PrecomputedValueRegistry getPrecomputedValueRegistry()
-