com.microstrategy.web.objects.WebSort |
![]() |
This is the generic sort interface to represent the information shared by all types of sorts. Most sort types implement two interfaces: this interface and another type-specific interface, but for types EnumDSSXMLSortType.DssXmlSortSubtotalsPosition and EnumDSSXMLSortType.DssXmlSortGroupByMetric, this is the only interface available.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getKey()
Returns the key of current sort object, which is used to look up the sort in the sorts collection.
| ||||||||||
abstract int |
getPosition()
Returns the position of current sort object in the sorts collection.
| ||||||||||
abstract boolean |
getRespectParent()
Returns the Respect Parent flag
| ||||||||||
abstract int |
getSortType()
Returns the sort type of this sort object.
| ||||||||||
abstract int |
getSubtotalsPosition()
Returns the position of subtotals in sorted result.
| ||||||||||
abstract WebObjectInfo |
getTarget()
Returns the target of this sort
| ||||||||||
abstract boolean |
isAscending()
Returns the sort order, which is ascending or not.
| ||||||||||
abstract void |
setAscending(boolean ascending)
Sets the sort order to ascending or not.
| ||||||||||
abstract void |
setRespectParent(boolean value)
Sets the Respect Parent flag
| ||||||||||
abstract void |
setSubtotalsPosition(int subtotalsPosition)
Sets the position of subtotals in sorted result.
|
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 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 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 Respect Parent flag
value | value |
---|
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 . |
---|