OSID Logo
OSID Specifications
configuration rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.configuration.rules.ParameterProcessorConfigurationSession
Implementsosid.OsidSession
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
CompliancemandatoryThis 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.

CompliancemandatoryThis 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.

CompliancemandatoryThis 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.IdListlist of related parameter processor Ids
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.ParameterProcessorListlist of related parameter processors
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetParameterProcessorIdsByConfigurations
Description

Gets the list of ParameterProcessor Ids corresponding to a list of Configurations.

Parametersosid.id.IdListconfigurationIdslist of configuration Ids
Returnosid.id.IdListlist of parameter processor Ids
ErrorsNULL_ARGUMENT configurationIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetParameterProcessorsByConfigurations
Description

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

Parametersosid.id.IdListconfigurationIdslist of configuration Ids
Returnosid.configuration.rules.ParameterProcessorListlist of parameter processors
ErrorsNULL_ARGUMENT configurationIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConfigurationIdsByParameterProcessor
Description

Gets the Configuration Ids mapped to a ParameterProcessor.

Parametersosid.id.IdparameterProcessorId Id of a ParameterProcessor
Returnosid.id.IdListlist of configurations
ErrorsNOT_FOUND parameterProcessorId is not found
NULL_ARGUMENT parameterProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConfigurationsByParameterProcessor
Description

Gets the Configurations mapped to a ParameterProcessor.

Parametersosid.id.IdparameterProcessorId Id of a ParameterProcessor
Returnosid.configuration.ConfigurationListlist of configurations
ErrorsNOT_FOUND parameterProcessorId is not found
NULL_ARGUMENT parameterProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.