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

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

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

MethodgetPublisherId
Description

Gets the Publisher Id associated with this session.

Returnosid.id.Idthe Publisher Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetPublisher
Description

Gets the Publisher associated with this session.

Returnosid.subscription.Publisherthe publisher
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.

Returnbooleanfalse if smart publisher management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDispatchConstrainerEnablerQuery
Description

Gets a dispatch constrainer enabler query.

Returnosid.subscription.rules.DispatchConstrainerEnablerQuerythe dispatch constrainer enabler query
CompliancemandatoryThis method must be implemented.
MethodgetDispatchConstrainerEnablerSearchOrder
Description

Gets a dispatch constrainer enabler search order.

Returnosid.subscription.rules.DispatchEnablerSearchOrderthe dispatch constrainer enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyDispatchConstrainerEnablerQuery
Description

Applies a dispatch constrainer enabler query to this publisher.

Parametersosid.subscription.rules.DispatchConstrainerEnablerQuerydispatchConstrainerEnablerQuerythe dispatch constrainer enabler query
ErrorsNULL_ARGUMENTdispatchConstrainerEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDdispatchConstrainerEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectDispatchConstrainerEnablerQuery
Description

Gets a dispatch constrainer enabler query inspector for this publisher.

Returnosid.subscription.rules.DispatchConstrainerEnablerQueryInspectorthe dispatch constrainer enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyDispatchConstrainerEnablerSequencing
Description

Applies a dispatch constrainer enabler search order to this publisher.

Parametersosid.subscription.rules.DispatchConstrainerEnablerSearchOrderdispatchConstrainerEnablerSearchOrderthe dispatch constrainer enabler search order
ErrorsNULL_ARGUMENTdispatchConstrainerEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDdispatchConstrainerEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetDispatchConstrainerEnablerQueryFromInspector
Description

Gets a dispatch constrainer enabler query from an inspector.

Parametersosid.subscription.rules.DispatchConstrainerEnablerQueryInspectordispatchConstrainerEnablerQueryInspectora dispatch constrainer enabler query inspector
Returnosid.subscription.rules.DispatchConstrainerEnablerQuerythe dispatch constrainer enabler query
ErrorsNULL_ARGUMENTdispatchConstrainerEnablerQueryInspector is null
UNSUPPORTEDdispatchConstrainerEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.