OSID Logo
OSID Specifications
tracking rules package
Version 3.0.0
Interfaceosid.tracking.rules.QueueEnablerRuleApplicationSession
Implementsosid.OsidSession
Used Byosid.tracking.rules.TrackingRulesManager
osid.tracking.rules.TrackingRulesProxyManager
Description

This session provides methods to apply QueueEnablers to Queues . Multiple QueueEnablers applied to an Queue may be sequenced such that the first positive evaluation results in the QueueEnablers used.

MethodgetFrontOfficeId
Description

Gets the FrontOffice Id associated with this session.

Returnosid.id.Idthe FrontOffice Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetFrontOffice
Description

Gets the FrontOffice associated with this session.

Returnosid.tracking.FrontOfficethe front office
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanAssignQueueEnablers
Description

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

Adds an existing QueueEnabler to a Queue .

Parametersosid.id.IdqueueEnablerIdthe Id of the QueueEnabler
osid.id.IdqueueIdthe Id of the Queue
ErrorsALREADY_EXISTSqueueEnablerId already applied to queueId
NOT_FOUNDqueueEnablerId or queueId not found
NULL_ARGUMENTqueueEnablerId or queueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignQueueEnablerFromQueue
Description

Removes an existing QueueEnabler from a Queue .

Parametersosid.id.IdqueueEnablerIdthe Id of the QueueEnabler
osid.id.IdqueueIdthe Id of the Queue
ErrorsNOT_FOUNDqueueEnablerId or queueId not found or queueEnablerId already applied to queueId
NULL_ARGUMENTqueueEnablerId or queueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanSequenceQueueEnablers
Description

Tests if this user can order QueueEnablers . 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 QueueEnabler ordering is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodmoveQueueEnablerAhead
Description

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

Parametersosid.id.IdqueueEnablerIdthe Id of the QueueEnabler
osid.id.IdqueueIdthe Id of the Queue
osid.id.IdreferenceIdthe reference queue enabler Id
ErrorsNOT_FOUNDqueueEnablerId, queueId , or referenceId not found or, queueEnablerId or referenceId not related to queueId
NULL_ARGUMENTqueueEnablerId, queueId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodmoveQueueEnablerBehind
Description

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

Parametersosid.id.IdqueueEnablerIdthe Id of the QueueEnabler
osid.id.IdqueueIdthe Id of the Queue
osid.id.IdreferenceIdthe reference queue enabler Id
ErrorsNOT_FOUNDqueueEnablerId, queueId , or referenceId not found or, queueEnablerId or referenceId not related to queueId
NULL_ARGUMENTqueueEnablerId, queueId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderQueueEnablers
Description

Reorders a set of queue enablers for a queue.

Parametersosid.id.Id[]queueEnablerIdsthe Ids for a set of QueueEnablers
osid.id.IdqueueIdthe Id of the Queue
ErrorsNOT_FOUNDqueueEnablerId, queueId , or referenceId not found or, queueEnablerId or referenceId not related to queueId
NULL_ARGUMENTqueueEnablerIds, queueId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.