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

This session provides methods to apply QueueConstrainerEnablers to QueueConstrainers. a QueueConstrainer with multiple QueueConstrainerEnablers means any positive rule evaluation across the enablers result in an effective QueueConstrainer.

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.
MethodcanAssignQueueConstrainerEnablers
Description

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

Adds an existing QueueConstrainerEnabler to a QueueConstrainer.

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

Removes a QueueConstrainerEnabler from a QueueConstrainer.

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

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

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

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

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

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

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

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