Interface | osid.dictionary.EntryLookupSession | ||
---|---|---|---|
Implements | osid.dictionary.EntryRetrievalSession | ||
Description |
This session defines two views which offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most applications as it permits operation even if there is data out of sync or there is an authorization block in a particular element. | ||
Method | useComparativeEntryView | ||
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 | usePlenaryEntryView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEntry | ||
Description |
Gets the | ||
Parameters | osid.id.Id | entryId | Id of the Entry |
Return | osid.dictionary.Entry | the entry | |
Errors | NOT_FOUND | entryId not found | |
NULL_ARGUMENT | entryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEntriesByIds | ||
Description |
Gets an | ||
Parameters | osid.id.IdList | entryIds | a list of Entry Ids |
Return | osid.dictionary.EntryList | the entry list | |
Errors | NOT_FOUND | entryId not found | |
NULL_ARGUMENT | entryIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEntriesByGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | entryGenusType | an entry genus type |
Return | osid.dictionary.EntryList | the returned Entry list | |
Errors | NULL_ARGUMENT | entryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByParentGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | entryGenusType | an entry genus type |
Return | osid.dictionary.EntryList | the returned Entry list | |
Errors | NULL_ARGUMENT | entryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByRecordType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | entryyRecordType | an entry record type |
Return | osid.dictionary.EntryList | the returned Entry list | |
Errors | NULL_ARGUMENT | entryRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByKeyType | ||
Description |
Gets all the | ||
Parameters | osid.type.Type | keyType | the type of the key to match |
Return | osid.dictionary.EntryList | the list of entries matching keyType | |
Errors | NULL_ARGUMENT | keyType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByKeyTypeAndValueType | ||
Description |
Gets all the | ||
Parameters | osid.type.Type | keyType | the type of the key to match |
osid.type.Type | valueType | the type of the value to match | |
Return | osid.dictionary.EntryList | the list of entries matching keyType | |
Errors | NULL_ARGUMENT | keyType or valueType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByKeyAndKeyType | ||
Description |
Gets all the | ||
Parameters | object | key | the key to match |
osid.type.Type | keyType | the type of the value to match | |
Return | osid.dictionary.EntryList | the list of entries matching keyType | |
Errors | NULL_ARGUMENT | key or keyType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEntries | ||
Description |
Gets all the | ||
Return | osid.dictionary.EntryList | the list of entries | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |