OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.QueueProcessorEnablerSmartDistributorSession
Implementsosid.OsidSession
Used Byosid.provisioning.rules.ProvisioningRulesManager
osid.provisioning.rules.ProvisioningRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A QueueProcessorEnablerQuery can be retrieved from this session and mapped to this Distributor to create a virtual collection of QueueProcessorEnablers. The queue processor enablers may be sequenced using the QueueProcessorEnablerSearchOrder from this session.

This Distributor has a default query that matches any queue processor enabler and a default search order that specifies no sequencing. The queries may be examined using a QueueProcessorEnablerQueryInspector. The query may be modified by converting the inspector back to a QueueProcessorEnablerQuery.

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

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

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributor the distributor
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartDistributors
Description

Tests if this user can manage smart distributors. A return of true does not guarantee successful authorization. A return of false indicates that it is known 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 operations to unauthorized users.

Returnboolean false if smart distributor management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablerQuery
Description

Gets a queue processor enabler query.

Returnosid.provisioning.rules.QueueProcessorEnablerQuery the queue processor enabler query
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablerSearchOrder
Description

Gets a queue processor enabler search order.

Returnosid.provisioning.rules.QueueProcessorEnablerSearchOrder the queue processor enabler search order
Compliancemandatory This method must be implemented.
MethodapplyQueueProcessorEnablerQuery
Description

Applies a queue processor enabler query to this distributor.

Parametersosid.provisioning.rules.QueueProcessorEnablerQueryqueueProcessorEnablerQuery the queue processot enabler query
ErrorsNULL_ARGUMENT queueProcessorEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED queueProcessorEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectQueueProcessorEnablerQuery
Description

Gets a queue processor enabler query inspector for this distributor.

Returnosid.provisioning.rules.QueueProcessorEnablerQueryInspector the queue processor enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyQueueProcessorEnablerSequencing
Description

Applies a queue processor enabler search order to this distributor.

Parametersosid.provisioning.rules.QueueProcessorEnablerSearchOrderqueueProcessorEnablerSearchOrder the queue processor enabler search order
ErrorsNULL_ARGUMENT queueProcessorEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED queueProcessorEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetQueueProcessorEnablerQueryFromInspector
Description

Gets a queue processor enabler query from an inspector.

Parametersosid.provisioning.rules.QueueProcessorEnablerQueryInspectorqueueProcessorEnablerQueryInspector a queue processor enabler query inspector
Returnosid.provisioning.rules.QueueProcessorEnablerQuery the queue processor enabler query
ErrorsNULL_ARGUMENT queueProcessorEnablerQueryInspector is null
UNSUPPORTED queueProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.