| Interface | osid.lexicon.IdiomPressSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session provides methods to retrieve
This lookup session defines several views:
| ||
| Method | canLookupIdiomPressMappings | ||
| Description |
Tests if this user can perform lookups of idiom/press
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known lookup methods in this session will result in a
| ||
| Return | boolean | false if looking up mappings is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeIdiomPressView | ||
| Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryIdiomPressView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getIdiomIdsByPress | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | pressId | Id of the Press |
| Return | osid.id.IdList | list of related idiom Ids | |
| Errors | NOT_FOUND | pressId is not found | |
| NULL_ARGUMENT | pressId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomsByPress | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | pressId | Id of the Press |
| Return | osid.lexicon.IdiomList | list of related idioms | |
| Errors | NOT_FOUND | pressId is not found | |
| NULL_ARGUMENT | pressId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomIdsByPresses | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | pressIds | list of press Ids |
| Return | osid.id.IdList | list of idiom Ids | |
| Errors | NULL_ARGUMENT | pressIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdiomsByPresses | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | pressIds | list of press Ids |
| Return | osid.lexicon.IdiomList | list of idioms | |
| Errors | NULL_ARGUMENT | pressIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressIdsByIdiom | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | idiomId | Id of an Idiom |
| Return | osid.id.IdList | list of presses | |
| Errors | NOT_FOUND | idiomId is not found | |
| NULL_ARGUMENT | idiomId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByIdiom | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | idiomId | Id of an Idiom |
| Return | osid.lexicon.PressList | list of presses | |
| Errors | NOT_FOUND | idiomId is not found | |
| NULL_ARGUMENT | idiomId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |