com.microstrategy.web.objects.WebResultWindow |
The WebResultWindow interface allows the user to set the window of report
results that the Intelligence Server should return. This object can only be
obtained from WebReportInstance
and WebReportSource
.
Notice that WebResultWindow is per report basis, there are other settings affecting all reports' execution. The Governing Limit is about the maximum number of XML cells the Intelligence Server can return when executing a report. Report Limit is on project level about the maximum number of rows a report grid can return.
The properties on this interface are persisted in the state of each
WebReportInstance
, but not as a WebProperty
which is saved
along with a report definition in the MetaData database. They need to be
re-set next time executing the same report.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Resets all the properties of the result window to the default values.
| ||||||||||
abstract int |
getGraphMaxCols()
Returns the maximum number of columns to send for a graph report.
| ||||||||||
abstract int |
getGraphMaxDataPointsCols()
Returns the number of data points on the columns that are returned for the graph labels.
| ||||||||||
abstract int |
getGraphMaxDataPointsRows()
Returns the number of data points on the rows that are returned for the graph labels.
| ||||||||||
abstract int |
getGraphMaxRows()
Returns the maximum number of rows to send for a graph report.
| ||||||||||
abstract int |
getGraphStartCol()
Returns the current setting for starting graph column.
| ||||||||||
abstract int |
getGraphStartRow()
Returns the current setting for starting graph row.
| ||||||||||
abstract int | getGridColMode() | ||||||||||
abstract int |
getGridMaxCols()
Returns the maximum number of columns to send for a grid report.
| ||||||||||
abstract int |
getGridMaxRows()
Returns the maximum number of rows to send for a grid report.
| ||||||||||
abstract int | getGridRowMode() | ||||||||||
abstract int |
getGridStartCol()
Returns the current setting for starting grid column.
| ||||||||||
abstract int |
getGridStartRow()
Returns the current setting for starting grid row.
| ||||||||||
abstract void |
setGraphMaxCols(int graphMaxCols)
Sets the maximum number of columns to send for a graph report.
| ||||||||||
abstract void |
setGraphMaxDataPointsCols(int graphDataPointsCols)
Sets the number of data points on the columns that are needed for the graph labels.
| ||||||||||
abstract void |
setGraphMaxDataPointsRows(int graphDataPointsRows)
Sets the number of data points on the rows that are needed for the graph labels.
| ||||||||||
abstract void |
setGraphMaxRows(int graphMaxRows)
Sets the maximum number of rows to send for a graph report.
| ||||||||||
abstract void |
setGraphStartCol(int graphStartCol)
Sets the starting column for a graph report.
| ||||||||||
abstract void |
setGraphStartRow(int graphStartRow)
Sets the starting row for a graph report.
| ||||||||||
abstract void | setGridColMode(int gridColMode) | ||||||||||
abstract void |
setGridMaxCols(int gridMaxCols)
Sets the maximum number of columns to send for a grid report.
| ||||||||||
abstract void |
setGridMaxRows(int gridMaxRows)
Sets the maximum number of rows to send for a grid report.
| ||||||||||
abstract void | setGridRowMode(int gridRowMode) | ||||||||||
abstract void |
setGridStartCol(int gridStartCol)
Sets the starting column for a grid report.
| ||||||||||
abstract void |
setGridStartRow(int gridStartRow)
Sets the starting grid row to the given value.
| ||||||||||
abstract void | setNorifyParent(boolean value) |
Resets all the properties of the result window to the default values. The defaults are: Grid start row (1), Grid max rows (-1), Grid start col(1), Grid max cols (-1), Graph start row (1), Graph max rows (-1), Graph start col(1), Graph max cols(-1).
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Returns the maximum number of columns to send for a graph report.
Returns the number of data points on the columns that are returned for the graph labels. The default value is '-1' which means that the actual number is determined by Intelligence server
Returns the number of data points on the rows that are returned for the graph labels. The default value is '-1' which means that the actual number is determined by Intelligence server
Returns the maximum number of rows to send for a graph report.
Returns the current setting for starting graph column.
Returns the current setting for starting graph row.
Returns the maximum number of columns to send for a grid report.
Returns the maximum number of rows to send for a grid report.
Returns the current setting for starting grid column.
Returns the current setting for starting grid row.
Sets the maximum number of columns to send for a graph report.
graphMaxCols | The maximum number of columns to return from the report. If 0, all columns will be included in the graph report. If -1, the default report value will be used (i.e. the value that was used when the report was executed, or refreshed). |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the number of data points on the columns that are needed for the graph labels. The actual number of labels returned is this number plus 1 since we always include the first and last column. By default, if this value is not specified, the number of labels returned is determined by the intelligence server and by the size of the graph.
UnsupportedOperationException | |
UnsupportedOperationException |
Sets the number of data points on the rows that are needed for the graph labels. The actual number of labels returned is this number plus 1 since we always include the first and last row. By default, if this value is not specified, the number of labels returned is determined by the intelligence server and by the size of the graph.
UnsupportedOperationException | |
UnsupportedOperationException |
Sets the maximum number of rows to send for a graph report.
graphMaxRows | The maximum number of rows to return from the report. If 0, all rows will be included in the graph report. If -1, the default report value will be used (i.e. the value that was used when the report was executed, or refreshed). |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the starting column for a graph report.
graphStartCol | The first column which should appear on the graph report. |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the starting row for a graph report.
graphStartRow | The first row which should appear on the report. |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the maximum number of columns to send for a grid report.
gridMaxCols | The maximum number of columns to return from the report. If 0, all columns will be included in the grid report. If -1, the default report value will be used (i.e. the value that was used when the report was executed, or refreshed). |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the maximum number of rows to send for a grid report.
gridMaxRows | The maximum number of rows to return from the report. If 0, all rows will be included in the grid report. If -1, the default report value will be used (i.e. the value that was used when the report was executed, or refreshed). |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the starting column for a grid report.
gridStartCol | The first column which should appear on the grid report. |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|
Sets the starting grid row to the given value.
gridStartRow | The first row which should appear on the grid. |
---|
UnsupportedOperationException | if trying to modify a read-only object. |
---|