| Interface | osid.lexicon.PressLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.lexicon.LexiconManager | ||
osid.lexicon.LexiconProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
presses as it permits operation even if there is data that
cannot be accessed. For example, a browsing press may only
need to examine the | ||
| Method | canLookupPresses | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if lookup methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativePressView | ||
| 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 | usePlenaryPressView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getPress | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | pressId | Id of the Press |
| Return | osid.lexicon.Press | the press | |
| Errors | NOT_FOUND | pressId not found | |
| NULL_ARGUMENT | pressId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getPressesByIds | ||
| Description |
Gets a | ||
| Parameters | osid.id.IdList | pressIds | the list of Ids to retrieve |
| Return | osid.lexicon.PressList | the returned Press list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | pressIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByGenusType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | pressGenusType | an press genus type |
| Return | osid.lexicon.PressList | the returned Press list | |
| Errors | NULL_ARGUMENT | pressGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByParentGenusType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | pressGenusType | an press genus type |
| Return | osid.lexicon.PressList | the returned Press list | |
| Errors | NULL_ARGUMENT | pressGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByRecordType | ||
| Description |
Gets a | ||
| Parameters | osid.type.Type | pressRecordType | an press record type |
| Return | osid.lexicon.PressList | the returned Press list | |
| Errors | NULL_ARGUMENT | pressRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPressesByProvider | ||
| Description |
Gets a | ||
| Parameters | osid.id.Id | resourceId | a resource Id |
| Return | osid.lexicon.PressList | the returned Press list | |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPresses | ||
| Description |
Gets all | ||
| Return | osid.lexicon.PressList | a list of Presses | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |