| Interface | osid.lexicon.IdiomQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Implemented By | osid.lexicon.IdiomSearchSession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session provides methods for searching among
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 | getPressId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Press Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPress | ||
| Description |
Gets the | ||
| Return | osid.lexicon.Press | the press | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchIdioms | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedPressView | ||
| Description |
Federates the view for methods in this session. A federated view will include idioms in presses which are children of this press in the press hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPressView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this press only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getIdiomQuery | ||
| Description |
Gets an idiom query. | ||
| Return | osid.lexicon.IdiomQuery | the idiom query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomsByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.lexicon.IdiomQuery | idiomQuery | the idiom query |
| Return | osid.lexicon.IdiomList | the returned IdiomList | |
| Errors | NULL_ARGUMENT | idiomQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | idiomQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |