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

This session manages queries and sequencing to create "smart" dynamic configurations. A ParameterProcessorQuery can be retrieved from this session and mapped to this Configuration to create a virtual collection of parameter processors. The parameter processor may be sequenced using the ParameterProcessorSearchOrder from this session.

This Configuration has a default query that matches any parameter processor and a default search order that specifies no sequencing. The queries may be examined using a ParameterProcessorQueryInspector. The query may be modified by converting the inspector back to a ParameterProcessorQuery.

MethodgetConfigurationId
Description

Gets the Configuration Id associated with this session.

Returnosid.id.Id the Configuration Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetConfiguration
Description

Gets the Configuration associated with this session.

Returnosid.configuration.Configuration the configuration
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartConfigurations
Description

Tests if this user can manage smart configurations. A return of true does not guarantee successful authorization. A return of false indicates that it is known 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 operations to unauthorized users.

Returnboolean false if smart configuration management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorQuery
Description

Gets a parameter processor query.

Returnosid.configuration.rules.ParameterProcessorQuery the parameter processor query
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorSearchOrder
Description

Gets a parameter processor search order.

Returnosid.configuration.rules.ParameterProcessorSearchOrder the parameter processor search order
Compliancemandatory This method must be implemented.
MethodapplyParameterProcessorQuery
Description

Applies a parameter processor query to this configuration.

Parametersosid.configuration.rules.ParameterProcessorQueryparameterProcessorQuery the parameter processor query
ErrorsNULL_ARGUMENT parameterProcessorQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED parameterProcessorQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectParameterProcessorQuery
Description

Gets a parameter processor query inspector for this configuration.

Returnosid.configuration.rules.ParameterProcessorQueryInspector the parameter processor query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyParameterProcessorSequencing
Description

Applies a parameter processor search order to this configuration.

Parametersosid.configuration.rules.ParameterProcessorSearchOrderparameterProcessorSearchOrder the parameter processor search order
ErrorsNULL_ARGUMENT parameterProcessorSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED parameterProcessorSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorQueryFromInspector
Description

Gets a parameter processor query from an inspector.

Parametersosid.configuration.rules.ParameterProcessorQueryInspectorparameterProcessorQueryInspector a parameter processor query inspector
Returnosid.configuration.rules.ParameterProcessorQuery the parameter processor query
ErrorsNULL_ARGUMENT parameterProcessorQueryInspector is null
UNSUPPORTED parameterProcessorQueryInspector is not of this service
Compliancemandatory This method must be implemented.