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

This session provides methods to retrieve DispatchEnabler to Publisher mappings. A DispatchEnabler may appear in multiple Publisher objects. Each publisher may have its own authorizations governing who is allowed to look at it.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethodcanLookupDispatchEnablerPublisherMappings
Description

Tests if this user can perform lookups of dispatch enabler/publisher mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup methods in this session will result in a PERMISSION_DENIED. T his is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseComparativeDispatchEnablerPublisherView
Description

The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.

Compliancemandatory This method is must be implemented.
MethodusePlenaryDispatchEnablerPublisherView
Description

A complete view of the DispatchEnabler and Publisher returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethodgetDispatchEnablerIdsByPublisher
Description

Gets the list of DispatchEnablerIds associated with a Publisher.

Parametersosid.id.IdpublisherId Id of the Publisher
Returnosid.id.IdList list of related dispatch enabler Ids
ErrorsNOT_FOUND publisherId is not found
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetDispatchEnablersByPublisher
Description

Gets the list of DispatchEnablers associated with a Publisher.

Parametersosid.id.IdpublisherId Id of the Publisher
Returnosid.subscription.rules.DispatchEnablerList list of related dispatch enablers
ErrorsNOT_FOUND publisherId is not found
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetDispatchEnablerIdsByPublishers
Description

Gets the list of DispatchEnablerIds corresponding to a list of Publishers.

Parametersosid.id.IdListpublisherIds list of publisher Ids
Returnosid.id.IdList list of dispatch enabler Ids
ErrorsNULL_ARGUMENT publisherIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetDispatchEnablersByPublishers
Description

Gets the list of DispatchEnablers corresponding to a list of Publishers.

Parametersosid.id.IdListpublisherIds list of publisher Ids
Returnosid.subscription.rules.DispatchEnablerList list of dispatch enablers
ErrorsNULL_ARGUMENT publisherIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetPublisherIdsByDispatchEnabler
Description

Gets the Publisher Ids mapped to a DispatchEnabler.

Parametersosid.id.IddispatchEnablerId Id of a DispatchEnabler
Returnosid.id.IdList list of publisher Ids
ErrorsNOT_FOUND dispatchEnablerId is not found
NULL_ARGUMENT dispatchEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetPublishersByDispatchEnabler
Description

Gets the Publishers mapped to a DispatchEnabler.

Parametersosid.id.IddispatchEnablerId Id of a DispatchEnabler
Returnosid.subscription.PublisherList list of publishers
ErrorsNOT_FOUND dispatchEnablerId is not found
NULL_ARGUMENT dispatchEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.