|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface through which other parts of XReporter (such as the report defintion classes) get access to report instance data. There are actually two implementations of this interface: one is ReportImpl itself, the other one is Step. If the ExecutionContext is a Step, some methods will behave differently, e.g. only input fields from the current or previous steps will be available. The creation of temporary tables is also tracked on a per-step basis. Most other methods are simply delegated to ReportImpl.
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. |
Method Detail |
public java.lang.String getListenerName()
public java.lang.String getHostName()
public int getPort()
public InputField getInputField(java.lang.String name)
public java.lang.String getTemporaryTableName(java.lang.String name)
registerTemporaryTableName(java.lang.String)
if this table
should be cleaned up automatically by XReporter.
public void registerTemporaryTableName(java.lang.String name)
public DataSource getDataSource()
public DataSourceManager getDataSourceManager()
public java.lang.String getOrderBySql()
public Qbe getQbe()
public Columns getColumns()
public ExpressionContext getExpressionContext()
public java.lang.String getReportId()
public java.lang.String getReportDefinitionId()
public ResourceHandle getResourceHandle()
public User getUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |