| Interface | osid.lexicon.ParameterLookupSession | ||
|---|---|---|---|
| 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. The methods
| ||
| Method | getPressId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Press Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPress | ||
| Description |
Gets the | ||
| Return | osid.lexicon.Press | the press | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupParameters | ||
| 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 | useComparativeParameterView | ||
| 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 | usePlenaryParameterView | ||
| Description |
A complete view of the
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedPressView | ||
| Description |
Federates the view for methods in this session. A federated view will include parameter constrainers in presses which are children of this press in the press hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPressView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this press only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getParameter | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | parameterId | Id of the Parameter |
| Return | osid.lexicon.Parameter | the parameter | |
| Errors | NOT_FOUND | parameterId not found | |
| NULL_ARGUMENT | parameterId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getParametersByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
parameters specified in the | ||
| Parameters | osid.id.IdList | parameterIds | the list of Ids to retrieve |
| Return | osid.lexicon.ParameterList | the returned Parameter list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | parameterIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParametersByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known parameters or an error results. Otherwise, the returned list may contain only those parameters that are accessible through this session. | ||
| Parameters | osid.type.Type | parameterGenusType | a parameter genus type |
| Return | osid.lexicon.ParameterList | the returned Parameter list | |
| Errors | NULL_ARGUMENT | parameterGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParametersByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known parameters or an error results. Otherwise, the returned list may contain only those parameters that are accessible through this session. | ||
| Parameters | osid.type.Type | parameterGenusType | a parameter genus type |
| Return | osid.lexicon.ParameterList | the returned Parameter list | |
| Errors | NULL_ARGUMENT | parameterGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParametersByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known parameters or an error results. Otherwise, the returned list may contain only those parameters that are accessible through this session. | ||
| Parameters | osid.type.Type | parameterRecordType | a parameter record type |
| Return | osid.lexicon.ParameterList | the returned Parameter list | |
| Errors | NULL_ARGUMENT | parameterRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParametersForText | ||
| Description |
Gets a In plenary mode, the returned list contains all known parameters or an error results. Otherwise, the returned list may contain only those parameters that are accessible through this session. | ||
| Parameters | osid.id.Id | textId | a text Id |
| Return | osid.lexicon.ParameterList | the returned Parameter list | |
| Errors | NULL_ARGUMENT | textId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParameters | ||
| Description |
Gets all In plenary mode, the returned list contains all known parameters or an error results. Otherwise, the returned list may contain only those parameters that are accessible through this session. | ||
| Return | osid.lexicon.ParameterList | a list of Parameters | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |