org.jfree.report.flow

Interface FlowController

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
FlowControlleractivateExpressions(ExpressionSlot[] expressions)
Activates expressions that compute running values.
FlowControllercreatePrecomputeInstance()
FlowControllerdeactivateExpressions()
ExpressionSlot[]getActiveExpressions()
Returns the current expression slots of all currently active expressions.
StringgetExportDescriptor()
GlobalMasterRowgetMasterRow()
PrecomputedValueRegistrygetPrecomputedValueRegistry()
ReportContextgetReportContext()
ReportJobgetReportJob()
booleanisAdvanceRequested()
FlowControllerperformOperation(FlowControlOperation operation)
FlowControllerperformQuery(String query)
FlowControllerperformReturnFromQuery()
FlowControllerperformSubReportQuery(String query, ParameterMapping[] inputParameters, ParameterMapping[] outputParameters)

Method Detail

activateExpressions

public FlowController activateExpressions(ExpressionSlot[] expressions)
Activates expressions that compute running values. This does not activate precomputed expressions.

Parameters: expressions

Returns:

Throws: DataSourceException

createPrecomputeInstance

public FlowController createPrecomputeInstance()

deactivateExpressions

public FlowController deactivateExpressions()

getActiveExpressions

public ExpressionSlot[] 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

getExportDescriptor

public String getExportDescriptor()

getMasterRow

public GlobalMasterRow getMasterRow()

getPrecomputedValueRegistry

public PrecomputedValueRegistry getPrecomputedValueRegistry()

getReportContext

public ReportContext getReportContext()

getReportJob

public ReportJob getReportJob()

isAdvanceRequested

public boolean isAdvanceRequested()

performOperation

public FlowController performOperation(FlowControlOperation operation)

performQuery

public FlowController performQuery(String query)

performReturnFromQuery

public FlowController performReturnFromQuery()

performSubReportQuery

public FlowController performSubReportQuery(String query, ParameterMapping[] inputParameters, ParameterMapping[] outputParameters)