Interface MonitorSort
-
public interface MonitorSort
The interfaceMonitorSort
represents a list of sorting criteria that will be used to sort the results of a data retrieval call on theMonitorSource
.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonitorSortCondition
add(int field, int order)
Adds a condition to the collection.void
clear()
Clears the collection.MonitorSortCondition
get(int i)
Returns theMonitorSortCondition
object at the specified position.void
remove(int i)
Removes the item at the specified 0-based position.void
remove(MonitorSortCondition sc)
Removes the specifiedMonitorSortCondition
object from the collection.int
size()
Returns the size of the collection.
-
-
-
Method Detail
-
add
MonitorSortCondition add(int field, int order)
Adds a condition to the collection.- Parameters:
field
- the field to sort by. The field comes fromEnumDSSXMLJobInfo
,EnumDSSXMLUserConnectionInfo
orEnumDSSXMLDBConnectionInfo
.order
- the sorting order, a value fromEnumDSSXMLOrder
.- Returns:
- a
MonitorSortCondition
object.
-
get
MonitorSortCondition get(int i)
Returns theMonitorSortCondition
object at the specified position.- Parameters:
i
- the position of aMonitorSortCondition
object.- Returns:
- the
MonitorSortCondition
object at the specified position.
-
remove
void remove(MonitorSortCondition sc)
Removes the specifiedMonitorSortCondition
object from the collection.- Parameters:
sc
- aMonitorSortCondition
object.
-
remove
void remove(int i)
Removes the item at the specified 0-based position.- Parameters:
i
- the index of aMonitorSortCondition
.
-
size
int size()
Returns the size of the collection.- Returns:
- the size of the collection.
-
clear
void clear()
Clears the collection.
-
-