java.lang.Object | |
↳ | com.microstrategy.web.objects.WebMetricHierarchicalSortConfigImpl |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | generateDelta(RWDelta delta) | ||||||||||
int |
getAxis()
Returns the axis name configured
| ||||||||||
int |
getKey()
Returns the key of current sort object, which is used to look up the sort in the sorts collection.
| ||||||||||
WebMetric |
getMetric()
Returns the metric which is the target of the sort.
| ||||||||||
int |
getPosition()
Returns the position of current sort object in the sorts collection.
| ||||||||||
boolean |
getRespectParent()
Returns the Respect Parent flag
| ||||||||||
int |
getSortType()
Returns the sort type of this sort object.
| ||||||||||
String |
getSubtotalID()
Returns the subtotal ID set
| ||||||||||
int |
getSubtotalType()
Returns the subtotal type set.
| ||||||||||
int |
getSubtotalsPosition()
Returns the position of subtotals in sorted result.
| ||||||||||
WebObjectInfo |
getTarget()
Returns the target of this sort
| ||||||||||
boolean |
isAscending()
Returns the sort order, which is ascending or not.
| ||||||||||
void |
setAscending(boolean ascending)
Sets the sort order to ascending or not.
| ||||||||||
void |
setAxis(int axisName)
Sets the axis name
| ||||||||||
void | setElements(String[] elementIDs) | ||||||||||
void |
setMetric(WebMetric metric)
This method is used to set the metric which is the target of the sort.
| ||||||||||
void |
setRespectParent(boolean value)
Sets the Respect Parent flag
| ||||||||||
void |
setSubtotalByType(int subtotalType)
Sets the subtotal definition for the sort by specifying its subtotal type.
| ||||||||||
void |
setSubtotalID(String id)
Sets the subtotal ID
| ||||||||||
void |
setSubtotalsPosition(int subtotalsPosition)
Sets the position of subtotals in sorted result.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the axis name configured
Returns the key of current sort object, which is used to look up the sort in the sorts collection. This has nothing to do with the sort-key.
Returns the metric which is the target of the sort.
Returns the position of current sort object in the sorts collection.
Returns the Respect Parent flag
Returns the sort type of this sort object. The sort type only can be specified on creation time.
EnumDSSXMLSortType
.
Returns the subtotal ID set
Returns the subtotal type set.
Returns the position of subtotals in sorted result. The possible value are in EnumDSSXMLSubtotalsPosition
. Default
is EnumDSSXMLSubtotalsPosition.DssSubtotalsPositionInherit
EnumDSSXMLSubtotalsPosition
.Returns the sort order, which is ascending or not.
Sets the sort order to ascending or not.
ascending | True to sort in ascending order, false to descending order. |
---|
Sets the axis name
This method is used to set the metric which is the target of the sort.
metric | The metric object which will be the target of the sort. |
---|
IllegalArgumentException |
---|
Sets the Respect Parent flag
value | value |
---|
Sets the subtotal definition for the sort by specifying its subtotal type.
IllegalArgumentException |
---|
Sets the subtotal ID
Sets the position of subtotals in sorted result. The possible value are in EnumDSSXMLSubtotalsPosition
. Default
is EnumDSSXMLSubtotalsPosition.DssSubtotalsPositionInherit.
subtotalsPosition | The position of subtotals in sorted result, values from EnumDSSXMLSubtotalsPosition. |
---|