| Interface | osid.dictionary.EntryRetrievalSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines two views which offer differing behaviors when retrieving multiple objects.
| ||
| Method | getDictionaryId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Dictionary Id associated with this
session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDictionary | ||
| Description |
Gets the | ||
| Return | osid.dictionary.Dictionary | the Dictionary associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupEntries | ||
| 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 | useFederatedDictionaryView | ||
| Description |
Federates the view for methods in this session. A federated view will include entries from descendant dictionaries in the dictionary hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDictionaryView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this dictionary only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | retrieveEntry | ||
| Description |
Gets the | ||
| Parameters | object | key | the key of the entry to retrieve |
osid.type.Type | keyType | the key type of the entry to retrieve | |
osid.type.Type | valueType | the value type of the entry to retrieve | |
| Return | object | the returned object | |
| Errors | INVALID_ARGUMENT | key is not of keyType | |
| NOT_FOUND | no entry found | ||
| NULL_ARGUMENT | key, keyType, or valueType is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |