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

This session provides methods to apply QueueProcessorEnablers to QueueProcessors. Multiple QueueProcessorEnablers applied to an QueueProcessor may be sequenced such that the first positive evaluation results in the QueueProcessorEnabler 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.
MethodcanAssignQueueProcessorEnablers
Description

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

Adds an existing QueueProcessorEnabler to a QueueProcessor.

Parametersosid.id.IdqueueProcessorEnablerId the Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorId the Id of the QueueProcessor
ErrorsALREADY_EXISTS queueProcessorEnablerId already applied to queueProcessorId
NOT_FOUND queueProcessorEnablerId or queueProcessorId not found
NULL_ARGUMENT queueProcessorEnablerId or queueProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignQueueProcessorEnablerFromQueueProcessor
Description

Removes an existing QueueProcessorEnabler from a QueueProcessor.

Parametersosid.id.IdqueueProcessorEnablerId the Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorId the Id of the QueueProcessor
ErrorsNOT_FOUND queueProcessorEnablerId or queueProcessorId not found or queueProcessorEnablerId already applied to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerId or queueProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceQueueProcessorEnablers
Description

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

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

Parametersosid.id.IdqueueProcessorEnablerId the Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorId the Id of the QueueProcessor
osid.id.IdreferenceId the reference queue processor enabler Id
ErrorsNOT_FOUND queueProcessorEnablerId queueProcessorId, or referenceId not found or, queueProcessorEnablerId or referenceId not related to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerId, queueProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveQueueProcessorEnablerBehind
Description

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

Parametersosid.id.IdqueueProcessorEnablerId the Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorId the Id of the QueueProcessor
osid.id.IdreferenceId the reference queue processor Id
ErrorsNOT_FOUND queueProcessorEnablerId queueProcessorId, or referenceId not found or, queueProcessorEnablerId or referenceId not related to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerId, queueProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderQueueProcessorEnablers
Description

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

Parametersosid.id.Id[]queueProcessorEnablerIds the Ids for a set of QueueProcessorEnablers
osid.id.IdqueueProcessorId the Id of the QueueProcessor
ErrorsNOT_FOUND queueProcessorId not found or, a queueProcessorEnablerId not related to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerIds or queueProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.