OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.QueueProcessorEnablerRuleApplicationSession
Implementsosid.OsidSession
Description

This session provides methods to apply QueueProcessorEnablers to QueueProcessors. a QueueProcessor with multiple QueueProcessorEnablers means any positive rule evaluation across the enablers result in an effective QueueProcessor.

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Idthe Distributor Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributorthe distributor
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodassignQueueProcessorEnablerToQueueProcessor
Description

Adds an existing QueueProcessorEnabler to a QueueProcessor.

Parametersosid.id.IdqueueProcessorEnablerIdthe Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of the QueueProcessor
ErrorsALREADY_EXISTS queueProcessorEnablerId is already applied to queueProcessorId
NOT_FOUND queueProcessorEnablerId or queueProcessorId not found
NULL_ARGUMENT queueProcessorEnablerId or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignQueueProcessorEnablerFromQueueProcessor
Description

Removes a QueueProcessorEnabler from a QueueProcessor.

Parametersosid.id.IdqueueProcessorEnablerIdthe Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of the QueueProcessor
ErrorsNOT_FOUND queueProcessorEnablerId or queueProcessorId not found or queueProcessorEnablerId not applied to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerId or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis 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.IdqueueProcessorEnablerIdthe Id of a QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of a QueueProcessor
osid.id.IdreferenceIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.IdqueueProcessorEnablerIdthe Id of a QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of a QueueProcessor
osid.id.IdreferenceIdthe 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_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderQueueProcessorEnablers
Description

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

Parametersosid.id.Id[]queueProcessorEnablerIdsthe Ids for a set of QueueProcessorEnablers
osid.id.IdqueueProcessorIdthe Id of a QueueProcessor
ErrorsNOT_FOUND queueProcessorId not found or, a queueProcessorEnablerId not related to queueProcessorId
NULL_ARGUMENT queueProcessorEnablerIds or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.