OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.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.

Returnbooleanfalse 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_EXISTSqueueProcessorEnablerId already applied to queueProcessorId
NOT_FOUNDqueueProcessorEnablerId or queueProcessorId not found
NULL_ARGUMENTqueueProcessorEnablerId or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignQueueProcessorEnablerFromQueueProcessor
Description

Removes an existing QueueProcessorEnabler from a QueueProcessor .

Parametersosid.id.IdqueueProcessorEnablerIdthe Id of the QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of the QueueProcessor
ErrorsNOT_FOUNDqueueProcessorEnablerId or queueProcessorId not found or queueProcessorEnablerId already applied to queueProcessorId
NULL_ARGUMENTqueueProcessorEnablerId 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.

Returnbooleanfalse 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 the QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of the QueueProcessor
osid.id.IdreferenceIdthe reference queue processor enabler Id
ErrorsNOT_FOUNDqueueProcessorEnablerId queueProcessorId , or referenceId not found or, queueProcessorEnablerId or referenceId not related to queueProcessorId
NULL_ARGUMENTqueueProcessorEnablerId, 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 the QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of the QueueProcessor
osid.id.IdreferenceIdthe reference queue processor Id
ErrorsNOT_FOUNDqueueProcessorEnablerId queueProcessorId , or referenceId not found or, queueProcessorEnablerId or referenceId not related to queueProcessorId
NULL_ARGUMENTqueueProcessorEnablerId, 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 the QueueProcessor
ErrorsNOT_FOUNDqueueProcessorId not found or, a queueProcessorEnablerId not related to queueProcessorId
NULL_ARGUMENTqueueProcessorEnablerIds or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.