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

This session provides methods to apply ParameterProcessors to Parameters.

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.
MethodcanAssignParameterProcessors
Description

Tests if this user can alter parameter processor/parameter mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping 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 mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignParameterProcessorToParameter
Description

Adds an existing ParameterProcessor to a Parameter.

Parametersosid.id.IdparameterProcessorId the Id of the ParameterProcessor
osid.id.IdparameterId the Id of the Parameter
ErrorsALREADY_EXISTS parameterProcessorId is already applied to parameterId
NOT_FOUND parameterProcessorId or parameterId not found
NULL_ARGUMENT parameterProcessorId or parameterId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignParameterProcessorFromParameter
Description

Removes a ParameterProcessor from a Parameter.

Parametersosid.id.IdparameterProcessorId the Id of the ParameterProcessor
osid.id.IdparameterId the Id of the Parameter
ErrorsNOT_FOUND parameterProcessorId or parameterId not found or parameterProcessorId is not applied to parameterId
NULL_ARGUMENT parameterProcessorId or parameterId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceParameterProcessors
Description

Tests if this user can order ParametereProcessors. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.

Returnboolean false if ParameterProcessor ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveParameterProcessorAhead
Description

Reorders parameter processors for a parameter by moving the specified parameter processors in front of a reference parameter.

Parametersosid.id.IdparameterProcessorId the Id of a ParameterProcessor
osid.id.IdparameterId the Id of a Parameter
osid.id.IdreferenceId the reference parameter processor Id
ErrorsNOT_FOUND parameterProcessorId, parameterId, or referenceId not found or, parameterProcessorId, or referenceId not related to parameterId
NULL_ARGUMENT parameterProcessorId, parameterId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveParameterProcessorBehind
Description

Reorders parameter processors for a parameter by moving the specified parameter processor behind a reference parameter processor.

Parametersosid.id.IdparameterProcessorId the Id of a ParameterProcessor
osid.id.IdparameterId the Id of a Parameter
osid.id.IdreferenceId the reference parameter processor Id
ErrorsNOT_FOUND parameterProcessorId, parameterId, or referenceId not found or, parameterProcessorId, or referenceId not related to parameterId
NULL_ARGUMENT parameterProcessorId, parameterId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderParameterProcessors
Description

Reorders a set of parameter processors for a parameter.

Parametersosid.id.Id[]parameterProcessorIds the Ids for a set of ParameterProcessors
osid.id.IdparameterId the Id of a Parameter
ErrorsNOT_FOUND parameterId not found or, a parameterProcessorId not related to parameterId
NULL_ARGUMENT parameterProcessorIds or parameterId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.