OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.PoolProcessorEnablerRuleApplicationSession
Implementsosid.OsidSession
Used Byosid.provisioning.rules.ProvisioningRulesManager
osid.provisioning.rules.ProvisioningRulesProxyManager
Description

This session provides methods to apply PoolProcessorEnablers to PoolProcessors. Multiple PoolProcessorEnablers applied to an PoolProcessor may be sequenced such that the first positive evaluation results in the PoolProcessorEnabler used.

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

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

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributor the distributor
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanAssignPoolProcessorEnablers
Description

Tests if this user can alter pool processor enabler/pool processor 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.
MethodassignPoolProcessorEnablerToPoolProcessor
Description

Adds an existing PoolProcessorEnabler to a PoolProcessor.

Parametersosid.id.IdpoolProcessorEnablerId the Id of the PoolProcessorEnabler
osid.id.IdpoolProcessorId the Id of the PoolProcessor
ErrorsALREADY_EXISTS poolProcessorEnablerId already applied to poolProcessorId
NOT_FOUND poolProcessorEnablerId or poolProcessorId not found
NULL_ARGUMENT poolProcessorEnablerId or poolProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignPoolProcessorEnablerFromPoolProcessor
Description

Removes an existing PoolProcessorEnabler from a PoolProcessor.

Parametersosid.id.IdpoolProcessorEnablerId the Id of the PoolProcessorEnabler
osid.id.IdpoolProcessorId the Id of the PoolProcessor
ErrorsNOT_FOUND poolProcessorEnablerId or poolProcessorId not found or poolProcessorEnablerId already applied to poolProcessorId
NULL_ARGUMENT poolProcessorEnablerId or poolProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequencePoolProcessorEnablers
Description

Tests if this user can order PoolProcessorEnablers. 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 PoolProcessorEnabler ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmovePoolProcessorEnablerAhead
Description

Reorders pool processor enablers for a pool processor by moving the specified pool processor enabler in front of a reference pool processor enabler.

Parametersosid.id.IdpoolProcessorEnablerId the Id of the PoolProcessorEnabler
osid.id.IdpoolProcessorId the Id of the PoolProcessor
osid.id.IdreferenceId the reference pool processor enabler Id
ErrorsNOT_FOUND poolProcessorEnablerId poolProcessorId, or referenceId not found or, poolProcessorEnablerId or referenceId not related to poolProcessorId
NULL_ARGUMENT poolProcessorEnablerId, poolProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmovePoolProcessorEnablerBehind
Description

Reorders pool processor enablers for a pool processor by moving the specified pool processor enabler behind a reference pool processor enabler.

Parametersosid.id.IdpoolProcessorEnablerId the Id of the PoolProcessorEnabler
osid.id.IdpoolProcessorId the Id of the PoolProcessor
osid.id.IdreferenceId the reference pool processor Id
ErrorsNOT_FOUND poolProcessorEnablerId poolProcessorId, or referenceId not found or, poolProcessorEnablerId or referenceId not related to poolProcessorId
NULL_ARGUMENT poolProcessorEnablerId, poolProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderPoolProcessorEnablers
Description

Reorders a set of pool processor enablers for a pool processor.

Parametersosid.id.Id[]poolProcessorEnablerIds the Ids for a set of PoolProcessorEnablers
osid.id.IdpoolProcessorId the Id of the PoolProcessor
ErrorsNOT_FOUND poolProcessorId not found or, a poolProcessorEnablerId not related to poolProcessorId
NULL_ARGUMENT poolProcessorEnablerIds or poolProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.