OSID Logo
OSID Specifications
tracking rules package
Version 3.0.0
Interfaceosid.tracking.rules.QueueProcessorEnablerRuleApplicationSession
Implementsosid.OsidSession
Used Byosid.tracking.rules.TrackingRulesManager
osid.tracking.rules.TrackingRulesProxyManager
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 .

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 office
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 is 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 a 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 not 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 a QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of a 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 a QueueProcessorEnabler
osid.id.IdqueueProcessorIdthe Id of a 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.
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_FOUNDqueueProcessorId not found or, an queueProcessorEnablerId not related to queueProcessorId
NULL_ARGUMENTqueueProcessorEnablerIds or queueProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.