| Interface | osid.configuration.ParameterLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session is used to retrieve parameters from a configuration registry of parameters. This lookup session defines several views. 
  The methods   | ||
| 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 | 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 | useFederatedConfigurationView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include paramaters from parent configurations in the configuration hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedConfigurationView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this configuration only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveParameterView | ||
| Description | 
                     Only active parameters are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusParameterView | ||
| Description | 
                     All active and inactive parameters are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getParameter | ||
| Description | 
                     Gets the    In active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Parameters | osid.id.Id | parameterId | the  Id  of the  Parameter  to retrieve  | 
| Return | osid.configuration.Parameter | the returned  Parameter   | |
| Errors | NOT_FOUND | no  Parameter  found with the given  Id   |                 |
| NULL_ARGUMENT |  parameterId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getParametersByIds | ||
| Description | 
                     Gets a    In active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Parameters | osid.id.IdList | parameterIds | the list of  Ids  to retrieve  | 
| Return | osid.configuration.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 active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Parameters | osid.type.Type | parameterGenusType | a parameter genus type | 
| Return | osid.configuration.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 active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Parameters | osid.type.Type | parameterGenusType | a parameter genus type | 
| Return | osid.configuration.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 active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Parameters | osid.type.Type | parameterRecordType | a parameter type | 
| Return | osid.configuration.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 | getParameters | ||
| Description | 
                     Gets all    In active mode, parameters are returned that are currently active. In any status mode, active and inactive parameters are returned.  | ||
| Return | osid.configuration.ParameterList | a list of  Parameters   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |