Interface IdiomSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing idiom searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetIdiomSearchRecord(Type idiomSearchRecordType) Gets the idiom search record corresponding to the given idiom search recordType.voidorderIdiomResults(IdiomSearchOrder idiomSearchOrder) Specify an ordering to the search results.voidsearchAmongIdioms(IdList idiomIds) Execute this search among the given list of idioms.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
-
searchAmongIdioms
Execute this search among the given list of idioms.- Parameters:
idiomIds- list of idioms- Throws:
NullArgumentException-idiomIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderIdiomResults
Specify an ordering to the search results.- Parameters:
idiomSearchOrder- idiom search order- Throws:
NullArgumentException-idiomSearchOrderisnullUnsupportedException-idiomSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getIdiomSearchRecord
Gets the idiom search record corresponding to the given idiom search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
idiomSearchRecordType- an idiom search record type- Returns:
- the idiom search record
- Throws:
NullArgumentException-idiomSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(idiomSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-