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

This session provides methods to apply QueueConstrainers to Queues. A Queue with multiple QueueConstrainers means any positive rule evaluation across the constrainers result in an accessible Queue.

MethodgetFrontOfficeId
Description

Gets the FrontOffice Id associated with this session.

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

Gets the FrontOffice associated with this session.

Returnosid.tracking.FrontOffice the office
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanAssignQueueConstrainers
Description

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

Returnboolean false if mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignQueueConstrainerToQueue
Description

Adds an existing QueueConstrainer to a Queue.

Parametersosid.id.IdqueueConstrainerId the Id of the QueueConstrainer
osid.id.IdqueueId the Id of the Queue
ErrorsALREADY_EXISTS queueConstrainerId is already applied to queueId
NOT_FOUND queueConstrainerId or queueId not found
NULL_ARGUMENT queueConstrainerId or queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignQueueConstrainerFromQueue
Description

Removes a QueueConstrainer from a Queue.

Parametersosid.id.IdqueueConstrainerId the Id of the QueueConstrainer
osid.id.IdqueueId the Id of the Queue
ErrorsNOT_FOUND queueConstrainerId or queueId not found or queueConstrainerId not applied to queueId
NULL_ARGUMENT queueConstrainerId or queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceQueueConstrainers
Description

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

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

Parametersosid.id.IdqueueConstrainerId the Id of a QueueConstrainer
osid.id.IdqueueId the Id of a Queue
osid.id.IdreferenceId the reference queue constrainer Id
ErrorsNOT_FOUND queueConstrainerId, queueId or referenceId not found or, queueConstrainerId or referenceId not related to queueId
NULL_ARGUMENT queueConstrainerId, queueId or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveQueueConstrainerBehind
Description

Reorders queue constrainer for a queue by moving the specified queue constrainer behind a reference queue constrainer.

Parametersosid.id.IdqueueConstrainerId the Id of a QueueConstrainer
osid.id.IdqueueId the Id of a Queue
osid.id.IdreferenceId the reference queue constrainer Id
ErrorsNOT_FOUND queueConstrainerId, queueId or referenceId not found or, queueConstrainerId or referenceId not related to queueId
NULL_ARGUMENT queueConstrainerId, queueId or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderQueueConstrainers
Description

Reorders a set of queue constrainers for a queue.

Parametersosid.id.Id[]queueConstrainerIds the Ids for a set of QueueConstrainers
osid.id.IdqueueId the Id of a QueueConstrainer
ErrorsNOT_FOUND queueId not found or, a queueConstrainerId not related to queueId
NULL_ARGUMENT queueConstrainerIds or queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.