Interface | osid.configuration.ValueLookupSession | ||
---|---|---|---|
Implements | osid.configuration.ValueRetrievalSession | ||
Description |
This session is used to retrieve configuration values. Two views of the configuration data are defined:
Values are not OSID objects and are obtained using a reference to a Parameter. | ||
Method | useActiveValueView | ||
Description |
Only active values are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusValueView | ||
Description |
All active and inactive values are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getValue | ||
Description |
Gets the | ||
Parameters | osid.id.Id | valueId | the Id of the Value to retrieve |
Return | osid.configuration.Value | the returned Value | |
Errors | NOT_FOUND | no Value found with the given Id | |
NULL_ARGUMENT | valueId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValuesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | valueIds | the list of Ids to retrieve |
Return | osid.configuration.ValueList | the returned Value list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | valueIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValuesByGenusType | ||
Description |
Gets a In active mode, values are returned that are currently active. In any status mode, active and inactive values are returned. | ||
Parameters | osid.type.Type | valueGenusType | a value genus type |
Return | osid.configuration.ValueList | the returned Value list | |
Errors | NULL_ARGUMENT | valueGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValuesByParentGenusType | ||
Description |
Gets a In active mode, values are returned that are currently active. In any status mode, active and inactive values are returned. | ||
Parameters | osid.type.Type | valueGenusType | a value genus type |
Return | osid.configuration.ValueList | the returned Value list | |
Errors | NULL_ARGUMENT | valueGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValuesByRecordType | ||
Description |
Gets a In active mode, values are returned that are currently active. In any status mode, active and inactive values are returned. | ||
Parameters | osid.type.Type | valueRecordType | a value type |
Return | osid.configuration.ValueList | the returned Value list | |
Errors | NULL_ARGUMENT | valueRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValues | ||
Description |
Gets all the values in this configuration. In plenary mode, all values are returned or an error results. In comparative mode, inaccessible values may be omitted. In plenary mode, the returned list contains all known values or an error results. Otherwise, the returned list may contain only those values that are accessible through this session. In active mode, values are returned that are currently active. In any status mode, active and inactive values are returned. | ||
Return | osid.configuration.ValueList | the value list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getValuesOnCondition | ||
Description |
Gets the values in this configuration based on a
condition. | ||
Parameters | osid.configuration.ValueCondition | valueCondition | a value condition |
Return | osid.configuration.ValueList | the value list | |
Errors | NULL_ARGUMENT | valueCondition is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | valueCondition not of this service | ||
Compliance | mandatory | This method must be implemented. |