| Interface | osid.lexicon.TextPressSession | ||
|---|---|---|---|
| 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 | canLookupTextPressMappings | ||
| Description |
Tests if this user can perform lookups of text/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 | useComparativeTextPressView | ||
| 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 | usePlenaryTextPressView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getTextIdsByPress | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | pressId | Id of the Press |
| Return | osid.id.IdList | list of related text 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 | getTextsByPress | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | pressId | Id of the Press |
| Return | osid.lexicon.TextList | list of related texts | |
| 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 | getTextIdsByPresses | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | pressIds | list of press Ids |
| Return | osid.id.IdList | list of text 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 | getTextsByPresses | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | pressIds | list of press Ids |
| Return | osid.lexicon.TextList | list of texts | |
| Errors | NULL_ARGUMENT | pressIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressIdsByText | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | textId | Id of a Text |
| Return | osid.id.IdList | list of presses | |
| Errors | NOT_FOUND | textId is not found | |
| NULL_ARGUMENT | textId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByText | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | textId | Id of a Text |
| Return | osid.lexicon.PressList | list of presses | |
| Errors | NOT_FOUND | textId is not found | |
| NULL_ARGUMENT | textId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |