|
||||||||||
| 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 ExecutionContextpublic java.lang.String getHostName()
ExecutionContext
getHostName in interface ExecutionContextpublic int getPort()
ExecutionContext
getPort in interface ExecutionContextpublic InputField getInputField(java.lang.String name)
ExecutionContext
getInputField in interface ExecutionContextpublic java.lang.String getTemporaryTableName(java.lang.String name)
ExecutionContextExecutionContext.registerTemporaryTableName(java.lang.String) if this table
should be cleaned up automatically by XReporter.
getTemporaryTableName in interface ExecutionContextpublic void registerTemporaryTableName(java.lang.String name)
ExecutionContext
registerTemporaryTableName in interface ExecutionContextpublic DataSource getDataSource()
ExecutionContext
getDataSource in interface ExecutionContextpublic DataSourceManager getDataSourceManager()
ExecutionContext
getDataSourceManager in interface ExecutionContextpublic java.lang.String getOrderBySql()
ExecutionContext
getOrderBySql in interface ExecutionContextpublic Qbe getQbe()
ExecutionContext
getQbe in interface ExecutionContextpublic Columns getColumns()
ExecutionContext
getColumns in interface ExecutionContextpublic ExpressionContext getExpressionContext()
ExecutionContext
getExpressionContext in interface ExecutionContextpublic java.lang.String getReportId()
ExecutionContext
getReportId in interface ExecutionContextpublic java.lang.String getReportDefinitionId()
getReportDefinitionId in interface ExecutionContextpublic ResourceHandle getResourceHandle()
getResourceHandle in interface ExecutionContextpublic User getUser()
getUser in interface ExecutionContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||