OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.DispatchProcessorEnablerSmartPublisherSession
Implementsosid.OsidSession
Used Byosid.subscription.rules.SubscriptionRulesManager
osid.subscription.rules.SubscriptionRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A DispatchProcessorEnablerQuery can be retrieved from this session and mapped to this Publisher to create a virtual collection of DispatchProcessorEnablers. The dispatch processor enablers may be sequenced using the DispatchProcessorEnablerSearchOrder from this session.

This Publisher has a default query that matches any dispatch processor enabler and a default search order that specifies no sequencing. The queries may be examined using a DispatchProcessorEnablerQueryInspector. The query may be modified by converting the inspector back to a DispatchProcessorEnablerQuery.

MethodgetPublisherId
Description

Gets the Publisher Id associated with this session.

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

Gets the Publisher associated with this session.

Returnosid.subscription.Publisher the publisher
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartPublishers
Description

Tests if this user can manage smart publishers. 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 publisher management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablerQuery
Description

Gets a dispatch processor enabler query.

Returnosid.subscription.rules.DispatchProcessorEnablerQuery the dispatch processor enabler query
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablerSearchOrder
Description

Gets a dispatch processor enabler search order.

Returnosid.subscription.rules.DispatchProcessorEnablerSearchOrder the dispatch processor enabler search order
Compliancemandatory This method must be implemented.
MethodapplyDispatchProcessorEnablerQuery
Description

Applies a dispatch processor enabler query to this publisher.

Parametersosid.subscription.rules.DispatchProcessorEnablerQuerydispatchProcessorEnablerQuery the dispatch processot enabler query
ErrorsNULL_ARGUMENT dispatchProcessorEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED dispatchProcessorEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectDispatchProcessorEnablerQuery
Description

Gets a dispatch processor enabler query inspector for this publisher.

Returnosid.subscription.rules.DispatchProcessorEnablerQueryInspector the dispatch processor enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyDispatchProcessorEnablerSequencing
Description

Applies a dispatch processor enabler search order to this publisher.

Parametersosid.subscription.rules.DispatchProcessorEnablerSearchOrderdispatchProcessorEnablerSearchOrder the dispatch processor enabler search order
ErrorsNULL_ARGUMENT dispatchProcessorEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED dispatchProcessorEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablerQueryFromInspector
Description

Gets a dispatch processor enabler query from an inspector.

Parametersosid.subscription.rules.DispatchProcessorEnablerQueryInspectordispatchProcessorEnablerQueryInspector a dispatch processor enabler query inspector
Returnosid.subscription.rules.DispatchProcessorEnablerQuery the dispatch processor enabler query
ErrorsNULL_ARGUMENT dispatchProcessorEnablerQueryInspector is null
UNSUPPORTED dispatchProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.