Interface TermSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing term searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetTermSearchRecord(Type termSearchRecordType) Gets the term search record corresponding to the given term search recordType.voidorderTermResults(TermSearchOrder termSearchOrder) Specify an ordering to the search results.voidsearchAmongTerms(IdList termIds) Execute this search among the given list of terms.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
-
searchAmongTerms
Execute this search among the given list of terms.- Parameters:
termIds- list of terms- Throws:
NullArgumentException-termIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderTermResults
Specify an ordering to the search results.- Parameters:
termSearchOrder- term search order- Throws:
NullArgumentException-termSearchOrderisnullUnsupportedException-termSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getTermSearchRecord
Gets the term search record corresponding to the given term search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
termSearchRecordType- a term search record type- Returns:
- the term search record
- Throws:
NullArgumentException-termSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(termSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-