Interface ValueSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing value searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetValueSearchRecord(Type valueSearchRecordType) Gets the value search record corresponding to the given value search recordType.voidorderValueResults(ValueSearchOrder valueSearchOrder) Specify an ordering to the search results.voidsearchAmongValues(IdList valueIds) Executes this search among a given list of values.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
-
searchAmongValues
Executes this search among a given list of values.- Parameters:
valueIds- list of values- Throws:
NullArgumentException-valueIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderValueResults
Specify an ordering to the search results.- Parameters:
valueSearchOrder- value search order- Throws:
NullArgumentException-valueSearchOrderisnullUnsupportedException-valueSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getValueSearchRecord
Gets the value search record corresponding to the given value search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
valueSearchRecordType- a value search record type- Returns:
- the value search record
- Throws:
NullArgumentException-valueSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(valueSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-