public interface TermSearch extends OsidSearch
The search interface for governing term searches.
Modifier and Type | Method and Description |
---|---|
TermSearchRecord |
getTermSearchRecord(Type termSearchRecordType)
Gets the term search record corresponding to the given term search
record
Type. |
void |
orderTermResults(TermSearchOrder termSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongTerms(IdList termIds)
Execute this search among the given list of terms.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongTerms(IdList termIds)
termIds
- list of termsNullArgumentException
- termIds
is
null
mandatory
- This method must be implemented. void orderTermResults(TermSearchOrder termSearchOrder)
termSearchOrder
- term search orderNullArgumentException
- termSearchOrder
is null
UnsupportedException
- termSearchOrder
is not of this servicemandatory
- This method must be implemented. TermSearchRecord getTermSearchRecord(Type termSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.termSearchRecordType
- a term search record typeNullArgumentException
- termSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(termSearchRecordType)
is false
mandatory
- This method must be implemented.