Interface StatisticSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidCompendiumSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidSubjugateableSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the search order for a meter.getStatisticSearchOrderRecord(Type statisticRecordType) Gets the meter search order record corresponding to the given statistic recordType.voidSpecified a preference for ordering results by the average rate.voidorderByDelta(SearchOrderStyle style) Specified a preference for ordering results by the delta.voidorderByMean(SearchOrderStyle style) Specified a preference for ordering results by the mean.voidorderByMedian(SearchOrderStyle style) Specified a preference for ordering results by the median.voidorderByMeter(SearchOrderStyle style) Specified a preference for ordering results by the metered object.voidSpecified a preference for ordering results by the metered object.voidorderByMode(SearchOrderStyle style) Specified a preference for ordering results by the mode.voidSpecified a preference for ordering results by the percent change.voidorderByRMS(SearchOrderStyle style) Specified a preference for ordering results by the root mean square.voidSpecified a preference for ordering results by the standard deviation.voidorderBySum(SearchOrderStyle style) Specified a preference for ordering results by the sum.booleanTests if aMeterSearchOrderis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidCompendiumSearchOrder
orderByEndDate, orderByExtrapolated, orderByInterpolated, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidSpecifies a preference for ordering the result set by extrapolated results.voidSpecifies a preference for ordering the result set by interpolated results.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByMeter
Specified a preference for ordering results by the metered object.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsMeterSearchOrder
boolean supportsMeterSearchOrder()Tests if aMeterSearchOrderis available.- Returns:
trueif a meter search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMeterSearchOrder
MeterSearchOrder getMeterSearchOrder()Gets the search order for a meter.- Returns:
- the meter search order
- Throws:
UnimplementedException-supportsMeterSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMeterSearchOrder()} is {@code true} .
-
orderByMeteredObject
Specified a preference for ordering results by the metered object.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySum
Specified a preference for ordering results by the sum.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMean
Specified a preference for ordering results by the mean.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMedian
Specified a preference for ordering results by the median.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMode
Specified a preference for ordering results by the mode.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByStandardDeviation
Specified a preference for ordering results by the standard deviation.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRMS
Specified a preference for ordering results by the root mean square.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDelta
Specified a preference for ordering results by the delta.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPercentChange
Specified a preference for ordering results by the percent change.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAverageRate
Specified a preference for ordering results by the average rate.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getStatisticSearchOrderRecord
StatisticSearchOrderRecord getStatisticSearchOrderRecord(Type statisticRecordType) throws OperationFailedException Gets the meter search order record corresponding to the given statistic recordType. Multiple retrievals return the same underlying object.- Parameters:
statisticRecordType- a statistic record type- Returns:
- the statistic search order record
- Throws:
NullArgumentException-statisticRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(statisticRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-