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

This session provides methods to retrieve ParameterProcessorEnabler to Configuration mappings. A ParameterProcessorEnabler 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
MethodcanLookupParameterProcessorEnablerConfigurationMappings
Description

Tests if this user can perform lookups of parameter processor enabler/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.
MethoduseComparativeParameterProcessorEnablerConfigurationView
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.
MethodusePlenaryParameterProcessorEnablerConfigurationView
Description

A complete view of the ParameterProcessorEnabler 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.
MethodgetParameterProcessorEnablerIdsByConfiguration
Description

Gets the list of ParameterProcessorEnablerIds associated with an Configuration.

Parametersosid.id.IdconfigurationId Id of the Configuration
Returnosid.id.IdList list of related parameter processor enabler 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.
MethodgetParameterProcessorEnablersByConfiguration
Description

Gets the list of parameter processor enablers associated with an Configuration.

Parametersosid.id.IdconfigurationId Id of the Configuration
Returnosid.configuration.rules.ParameterProcessorEnablerList list of related parameter processor enablers
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.
MethodgetParameterProcessorEnablerIdsByConfigurations
Description

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

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

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

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

Gets the Configuration Ids mapped to a ParameterProcessorEnabler.

Parametersosid.id.IdparameterProcessorEnablerId Id of a ParameterProcessorEnabler
Returnosid.id.IdList list of configurations
ErrorsNOT_FOUND parameterProcessorEnablerId is not found
NULL_ARGUMENT parameterProcessorEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetConfigurationsByParameterProcessorEnabler
Description

Gets the Configurations mapped to a ParameterProcessorEnabler.

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