|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.xreporter.report.definition.GroupingExecutionContext
A wrapper around ExecutionContext used in case of grouping. It forces the orderby to always sort first on the grouping columns.
Field Summary | |
protected DatabaseOutputDefinition |
databaseOutputDefinition
|
protected ExecutionContext |
delegateExecutionContext
|
protected GroupDefinition[] |
groupDefinitions
|
Constructor Summary | |
GroupingExecutionContext(ExecutionContext delegateExecutionContext,
GroupDefinition[] groupDefinitions,
DatabaseOutputDefinition databaseOutputDefinition)
|
Method Summary | |
Columns |
getColumns()
Provides access to the Columns configuration. |
DataSource |
getDataSource()
Gets the data source of the report instance. |
DataSourceManager |
getDataSourceManager()
Gets the data source manager. |
ExpressionContext |
getExpressionContext()
Gets the context for evaluating expressions. |
java.lang.String |
getHostName()
Return the host name of the server instance this report is running on. |
InputField |
getInputField(java.lang.String name)
If the ExecutionContext is a Step, then this will only provide access to InputField's of the current or previous steps. |
java.lang.String |
getListenerName()
Return the logical name of the server instance this report is running on. |
java.lang.String |
getOrderBySql()
Returns the sql for the currently selected orderby choice, or null if no orderby is configured. |
int |
getPort()
Return the port number of the server instance this report is running on. |
Qbe |
getQbe()
Provides access to the QBE (Query By Example) configuration. |
java.lang.String |
getReportDefinitionId()
|
java.lang.String |
getReportId()
Returns the id of the report instance. |
ResourceHandle |
getResourceHandle()
|
java.lang.String |
getTemporaryTableName(java.lang.String name)
Constructs a temporary table name. |
User |
getUser()
|
void |
registerTemporaryTableName(java.lang.String name)
Registers a temporary table name for automatic cleanup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final ExecutionContext delegateExecutionContext
protected final GroupDefinition[] groupDefinitions
protected final DatabaseOutputDefinition databaseOutputDefinition
Constructor Detail |
public GroupingExecutionContext(ExecutionContext delegateExecutionContext, GroupDefinition[] groupDefinitions, DatabaseOutputDefinition databaseOutputDefinition)
Method Detail |
public java.lang.String getListenerName()
ExecutionContext
getListenerName
in interface ExecutionContext
public java.lang.String getHostName()
ExecutionContext
getHostName
in interface ExecutionContext
public int getPort()
ExecutionContext
getPort
in interface ExecutionContext
public InputField getInputField(java.lang.String name)
ExecutionContext
getInputField
in interface ExecutionContext
public java.lang.String getTemporaryTableName(java.lang.String name)
ExecutionContext
ExecutionContext.registerTemporaryTableName(java.lang.String)
if this table
should be cleaned up automatically by XReporter.
getTemporaryTableName
in interface ExecutionContext
public void registerTemporaryTableName(java.lang.String name)
ExecutionContext
registerTemporaryTableName
in interface ExecutionContext
public DataSource getDataSource()
ExecutionContext
getDataSource
in interface ExecutionContext
public DataSourceManager getDataSourceManager()
ExecutionContext
getDataSourceManager
in interface ExecutionContext
public java.lang.String getOrderBySql()
ExecutionContext
getOrderBySql
in interface ExecutionContext
public Qbe getQbe()
ExecutionContext
getQbe
in interface ExecutionContext
public Columns getColumns()
ExecutionContext
getColumns
in interface ExecutionContext
public ExpressionContext getExpressionContext()
ExecutionContext
getExpressionContext
in interface ExecutionContext
public java.lang.String getReportId()
ExecutionContext
getReportId
in interface ExecutionContext
public java.lang.String getReportDefinitionId()
getReportDefinitionId
in interface ExecutionContext
public ResourceHandle getResourceHandle()
getResourceHandle
in interface ExecutionContext
public User getUser()
getUser
in interface ExecutionContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |