OSID Logo
OSID Specifications
configuration rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.configuration.rules.ParameterProcessorRuleApplicationSession
Implementsosid.OsidSession
Description

This session provides methods to apply ParameterProcessors to Parameters.

MethodgetConfigurationId
Description

Gets the Configuration Id associated with this session.

Returnosid.id.Idthe Configuration Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetConfiguration
Description

Gets the Configuration associated with this session.

Returnosid.configuration.Configurationthe configuration
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodassignParameterProcessorToParameter
Description

Adds an existing ParameterProcessor to a Parameter.

Parametersosid.id.IdparameterProcessorIdthe Id of the ParameterProcessor
osid.id.IdparameterIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignParameterProcessorFromParameter
Description

Removes a ParameterProcessor from a Parameter.

Parametersosid.id.IdparameterProcessorIdthe Id of the ParameterProcessor
osid.id.IdparameterIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis 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.IdparameterProcessorIdthe Id of a ParameterProcessor
osid.id.IdparameterIdthe Id of a Parameter
osid.id.IdreferenceIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.IdparameterProcessorIdthe Id of a ParameterProcessor
osid.id.IdparameterIdthe Id of a Parameter
osid.id.IdreferenceIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderParameterProcessors
Description

Reorders a set of parameter processors for a parameter.

Parametersosid.id.Id[]parameterProcessorIdsthe Ids for a set of ParameterProcessors
osid.id.IdparameterIdthe Id of a Parameter
ErrorsNOT_FOUND parameterId not found or, a parameterProcessorId not related to parameterId
NULL_ARGUMENT parameterProcessorIds or parameterId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.