OSID Logo
OSID Specifications
configuration rules package
Version 3.1.0
Interfaceosid.configuration.rules.ParameterProcessorConfigurationSession
Implementsosid.OsidSession
Used Byosid.configuration.rules.ConfigurationRulesManager
osid.configuration.rules.ConfigurationRulesProxyManager
Description

This session provides methods to retrieve ParameterProcessor to Configuration mappings. A ParameterProcessor may appear in multiple Configuration objects. Each configuration may have its own authorizations governing who is allowed to look at it.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethodcanLookupParameterProcessorConfigurationMappings
Description

Tests if this user can perform lookups of parameter processor/configuration mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseComparativeParameterProcessorConfigurationView
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.

Compliancemandatory This method is must be implemented.
MethodusePlenaryParameterProcessorConfigurationView
Description

A complete view of the ParameterProcessor and Configuration returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethodgetParameterProcessorIdsByConfiguration
Description

Gets the list of ParameterProcessorIds associated with an Configuration.

Parametersosid.id.IdconfigurationId Id of the Configuration
Returnosid.id.IdList list of related parameter processor Ids
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorsByConfiguration
Description

Gets the list of parameter processors associated with an Configuration.

Parametersosid.id.IdconfigurationId Id of the Configuration
Returnosid.configuration.rules.ParameterProcessorList list of related parameter processors
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorIdsByConfigurations
Description

Gets the list of ParameterProcessorIds corresponding to a list of Configurations.

Parametersosid.id.IdListconfigurationIds list of configuration Ids
Returnosid.id.IdList list of parameter processor Ids
ErrorsNULL_ARGUMENT configurationIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorsByConfigurations
Description

Gets the list of parameter processor corresponding to a list of Configurations.

Parametersosid.id.IdListconfigurationIds list of configuration Ids
Returnosid.configuration.rules.ParameterProcessorList list of parameter processors
ErrorsNULL_ARGUMENT configurationIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetConfigurationIdsByParameterProcessor
Description

Gets the Configuration Ids mapped to a ParameterProcessor.

Parametersosid.id.IdparameterProcessorId Id of a ParameterProcessor
Returnosid.id.IdList list of configurations
ErrorsNOT_FOUND parameterProcessorId is not found
NULL_ARGUMENT parameterProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetConfigurationsByParameterProcessor
Description

Gets the Configurations mapped to a ParameterProcessor.

Parametersosid.id.IdparameterProcessorId Id of a ParameterProcessor
Returnosid.configuration.ConfigurationList list of configurations
ErrorsNOT_FOUND parameterProcessorId is not found
NULL_ARGUMENT parameterProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.