Interface StatisticSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing statistic searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetStatisticSearchRecord(Type statisticSearchRecordType) Gets the statistic search record corresponding to the given statistic search recordType.voidorderStatisticResults(StatisticSearchOrder statisticSearchOrder) Specify an ordering to the search results.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 OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
orderStatisticResults
Specify an ordering to the search results.- Parameters:
statisticSearchOrder- statistic search order- Throws:
NullArgumentException-statisticSearchOrderisnullUnsupportedException-statisticSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getStatisticSearchRecord
StatisticSearchRecord getStatisticSearchRecord(Type statisticSearchRecordType) throws OperationFailedException Gets the statistic search record corresponding to the given statistic search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
statisticSearchRecordType- a statistic search record type- Returns:
- the statistic search record
- Throws:
NullArgumentException-statisticSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(statisticSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-