| Interface | osid.configuration.ValueRetrievalSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Implemented By | osid.configuration.ValueLookupSession | ||
| Used By | osid.configuration.ConfigurationManager | ||
osid.configuration.ConfigurationProxyManager | |||
| Description |
This session is used to retrieve active and applicable configuration values through evaluation of active and pertinent values based on the context or conditional input. | ||
| Method | getConfigurationId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Configuration Id associated with this
session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getConfiguration | ||
| Description |
Gets the | ||
| Return | osid.configuration.Configuration | the Configuration associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRetrieveValues | ||
| 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 | getApplicableValueByParameter | ||
| Description |
Gets an applicable | ||
| Parameters | osid.id.Id | parameterId | the Id of the Parameter to retrieve |
| Return | osid.configuration.Value | the value | |
| Errors | NOT_FOUND | the parameterId not found or no value available | |
| NULL_ARGUMENT | the parameterId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getApplicableValuesByParameter | ||
| Description |
Gets all the applicable | ||
| Parameters | osid.id.Id | parameterId | the Id of the Parameter to retrieve |
| Return | osid.configuration.ValueList | the value list | |
| Errors | NOT_FOUND | the parameterId not found | |
| NULL_ARGUMENT | the parameterId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getApplicableValuesByParameters | ||
| Description |
Gets the applicable | ||
| Parameters | osid.id.IdList | parameterIds | the Id of the Parameter to retrieve |
| Return | osid.configuration.ValueList | the value list | |
| Errors | NOT_FOUND | a parameter Id is 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 | getValueCondition | ||
| Description |
Gets a value condition for the given parameter. | ||
| Parameters | osid.id.Id | parameterId | the Id of a Parameter |
| Return | osid.configuration.ValueCondition | a value condition | |
| Errors | NULL_ARGUMENT | parameterId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getApplicableValueByParameterOnCondition | ||
| Description |
Gets an applicable value in this configuration based on a condition. If multiple values are available the most preferred one is returned. The condition specified is applied to any or all parameters in this configuration as applicable. | ||
| Parameters | osid.id.Id | parameterId | the Id of a Parameter |
osid.configuration.ValueCondition | valueCondition | the condition | |
| Return | osid.configuration.Value | the value | |
| Errors | NOT_FOUND | parameter Id is not found | |
| NULL_ARGUMENT | parameterId or valueCondition is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | valueCondition did not originate from
getValueCondition() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getApplicableValuesByParameterOnCondition | ||
| Description |
Gets all the applicable values for a parameter based on a condition. | ||
| Parameters | osid.id.Id | parameterId | the Id of a Parameter |
osid.configuration.ValueCondition | valueCondition | the condition | |
| Return | osid.configuration.ValueList | the value list | |
| Errors | NOT_FOUND | parameter Id is not found | |
| NULL_ARGUMENT | parameterId or valueCondition is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | valueCondition did not originate from
getValueCondition() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getApplicableValuesByParametersOnCondition | ||
| Description |
Gets the applicable values for parameters based on a condition. The specified condition is applied to any or all of the parameters as applicable. | ||
| Parameters | osid.id.IdList | parameterIds | the Id of a Parameter |
osid.configuration.ValueCondition | valueCondition | the condition | |
| Return | osid.configuration.ValueList | the value list | |
| Errors | NOT_FOUND | a parameter Id is not found | |
| NULL_ARGUMENT | parameterIds or valueCondition is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | valueCondition did not originate from getValueCondition() | ||
| Compliance | mandatory | This method must be implemented. | |