| Interface | osid.lexicon.IdiomSearchSession | ||
|---|---|---|---|
| Implements | osid.lexicon.IdiomQuerySession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session provides methods for searching among
getIdiomsByQuery() is the basic search method and
returns a list of Idioms . A more advanced search
may be performed with getIdiomsBySearch() . It
accepts an IdiomSearch in addition to the query
for the purpose of specifying additional options affecting the
entire search, such as ordering.
getIdiomsBySearch() returns an
IdiomSearchResults that can be used to access the
resulting IdiomList or be used to perform a
search within the result set through IdiomSearch
.
This session defines views that offer differing behaviors for searching.
Idioms may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getIdiomSearch | ||
| Description |
Gets an idiom search. | ||
| Return | osid.lexicon.IdiomSearch | the idiom search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomSearchOrder | ||
| Description |
Gets an idiom search order. The
| ||
| Return | osid.lexicon.IdiomSearchOrder | the idiom search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomsBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.lexicon.IdiomQuery | idiomQuery | the idiom query |
osid.lexicon.IdiomSearch | idiomSearch | the idiom search | |
| Return | osid.lexicon.IdiomSearchResults | the idiom search results | |
| Errors | NULL_ARGUMENT | idiomQuery or idiomSearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | idiomQuery or idiomSearch is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomQueryFromInspector | ||
| Description |
Gets an idiom query from an inspector. The inspector is
available from an | ||
| Parameters | osid.lexicon.IdiomQueryInspector | idiomQueryInspector | an idiom query inspector |
| Return | osid.lexicon.IdiomQuery | the idiom query | |
| Errors | NULL_ARGUMENT | idiomQueryInspector is null | |
| UNSUPPORTED | idiomQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |