com.microstrategy.web.app.beans.SubtotalsEditorBean |
The SubtotalsEditorBean supports the Advanced Sort Editor. It uses an standard microstrategy gui editor. The user will use this editor to select the keys she wants to sort from and the sorting order.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SUBTOTALS_AVG | ||||||||||
String | SUBTOTALS_DISABLED | ||||||||||
String | SUBTOTALS_GRAND_TOTAL | ||||||||||
String | SUBTOTALS_MAX | ||||||||||
String | SUBTOTALS_MIN | ||||||||||
String | SUBTOTALS_SUBTOTALS | ||||||||||
String | SUBTOTALS_SUM |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getAllTotalsState(WebTemplateSubtotal subtotal)
Return the state of the All Totals checkbox for the given subtotal
| ||||||||||
abstract Enumeration |
getAvailableSubtotals()
Returns a collection of
WebTemplateSubtotal objects
that are available for the template. | ||||||||||
abstract int |
getCurrentSubtotalIndex()
Gets the index of the current subtotal being modified by the editor
| ||||||||||
abstract int |
getDisplayOptions(int axis)
Returns the position of the subtotals for the specified axis.
| ||||||||||
abstract int |
getGrandTotalsState(WebTemplateSubtotal subtotal)
Return the state of the Grand Totals checkbox for the given subtotal
| ||||||||||
abstract WebTemplateSubtotal |
getSubtotal(int index)
Returns a
WebTemplateSubtotal object for the
specified index of the subtotal. | ||||||||||
abstract int |
getSubtotalState(WebTemplateSubtotal subtotal)
Gets the state of the subtotal specified.
| ||||||||||
abstract int |
getSubtotalStyleForAxis(WebTemplateSubtotal subtotal, int axisIndex)
Gets the subtotal style for a specified axis for the subtotal.
| ||||||||||
abstract Enumeration |
getSubtotalUnits()
Returns a collection of
WebObjectInfo objects
across whose level a subtotal can be added. | ||||||||||
abstract SimpleList |
getUnitsForLevel(WebTemplateSubtotal subtotal)
Returns a collection of
WebObjectInfo objects
across whose level the subtotal is defined. | ||||||||||
abstract boolean |
isMetricTotalAvailable(int metricType, int subtotalStyle)
This method is deprecated.
Replaced by
getAllTotalsState(WebTemplateSubtotal) and getGrandTotalsState(WebTemplateSubtotal)
| ||||||||||
abstract void |
setCurrentSubtotalIndex(int index)
Sets the index of the current subtotal being modified by the editor
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Return the state of the All Totals checkbox for the given subtotal
subtotal | WebTemplateSubtotal for which the subtotal style is requested |
---|
EnumSubtotalCheckboxState
Returns a collection of WebTemplateSubtotal
objects
that are available for the template.
Gets the index of the current subtotal being modified by the editor
Returns the position of the subtotals for the specified axis. Used in the display options tab of the editor.
axis | Index of the axis for which the position of the subtotal is required |
---|
EnumDSSXMLSubtotalsPosition
.Return the state of the Grand Totals checkbox for the given subtotal
subtotal | WebTemplateSubtotal for which the subtotal style is requested |
---|
EnumSubtotalCheckboxState
Returns a WebTemplateSubtotal
object for the
specified index of the subtotal.
index | Index of the subtotal |
---|
Gets the state of the subtotal specified.
subtotal | WebTemplateSubtotal for which the subtotal style is requested |
---|
EnumSubtotalState
Gets the subtotal style for a specified axis for the subtotal.
If the subtotal is not defined 'By position' this method will
return DssXmlSubtotalNone
subtotal | WebTemplateSubtotal for which the subtotal style is requested |
---|---|
axisIndex | Index of the axis for which the style is requested |
EnumDSSXMLSubtotalStyle
.Returns a collection of WebObjectInfo
objects
across whose level a subtotal can be added. This list will include attributes, hierarchies,
custom groups and consolidations.
Returns a collection of WebObjectInfo
objects
across whose level the subtotal is defined. Returns null if the subtotal is not active
or if it is not defined Across Level.
subtotal | WebTemplateSubtotal for which the list of units is requested |
---|
SimpleList
collection of WebObjectInfo
This method is deprecated.
Replaced by getAllTotalsState(WebTemplateSubtotal)
and getGrandTotalsState(WebTemplateSubtotal)
Returns true if the metric and subtotal are available for the metrics axis
metricType | the metric type (subtotal | gradtotal) |
---|---|
subtotalStyle | the subtotal style (i.e. min, max, avg, sum) |
Sets the index of the current subtotal being modified by the editor