OSID Logo
OSID Specifications
subscription package
Version 3.1.0
Interfaceosid.subscription.SubscriptionManager
Implementsosid.OsidManager
osid.subscription.SubscriptionProfile
Used Byosid.orchestration.OrchestrationManager
Description

The subscription manager provides access to subscription sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • MySubscriptionSession: a session to look up subscriptions
  • MySubscriptionAdminSession: a session to manage subscriptions
  • SubscriptionLookupSession: a session to lookup subscriptions
  • SubscriptionQuerySession: a session to query subscriptions
  • SubscriptionSearchSession: a session to search subscriptions
  • SubscriptionAdminSession: a session to manage subscriptions
  • SubscriptionNotificationSession: a session to subscribe to notifications of subscription changes
  • SubscriptionPublisherSession: a session to look up subscription publisher mappings
  • SubscriptionPublisherAssignmentSession: a session to manage subscription publisher mappings
  • SubscriptionSmartPublisherSession: a session to manage smart publishers of subscriptions
  • DispatchLookupSession: a session to retrieve dispatches
  • DispatchQuerySession: a session to query dispatches
  • DispatchSearchSession: a session to search for dispatches
  • DispatchAdminSession: a session to create, update and delete dispatches
  • DispatchNotificationSession: a session to receive notifications for changes in dispatches
  • DispatchPublisherSession: a session to look up dispatch publisher mappings
  • DispatchPublisherAssignmentSession: a session to manage dispatch publisher mappings
  • DispatchSmartPublisherSession: a session to manage smart publishers of dispatches
  • PublisherLookupSession: a session to retrieve publishers
  • PublisherQuerySession: a session to query publishers
  • PublisherSearchSession: a session to search for publishers
  • PublisherAdminSession: a session to create, update and delete publishers
  • PublisherNotificationSession: a session to receive notifications for changes in publishers
  • PublisherHierarchySession: a session to traverse hierarchies of publishers
  • PublisherHierarchyDesignSession: a session to manage hierarchies of publishers

The subscription manager also provides a profile for determing the supported search types supported by this service.

MethodgetMySubscriptionSession
Description

Gets the OsidSession associated with the subscription lookup service for the authenticated agent.

Returnosid.subscription.MySubscriptionSession a My S ubscriptionSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMySubscription() is false
Complianceoptional This method must be implemented if supportsMySubscription() is true.
MethodgetMySubscriptionSessionForPublisher
Description

Gets the OsidSession associated with the subscription lookup service for the authenticated agent for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.MySubscriptionSession a MySubscriptionSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMySubscription() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsMySubscription() and supportsVisibleFederation() are true
MethodgetMySubscriptionAdminSession
Description

Gets the OsidSession associated with the subscription administrative service for the authenticated agent.

Returnosid.subscription.MySubscriptionAdminSession a My S ubscriptionSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMySubscriptionAdmin() is false
Complianceoptional This method must be implemented if supportsMySubscriptionAdmin() is true.
MethodgetMySubscriptionAdminSessionForPublisher
Description

Gets the OsidSession associated with the subscription administrative service for the authenticated agent for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.MySubscriptionAdminSession a MySubscriptionSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsMySubscriptionAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsMySubscriptionAdmin() and supportsVisibleFederation() are true
MethodgetSubscriptionLookupSession
Description

Gets the OsidSession associated with the subscription lookup service.

Returnosid.subscription.SubscriptionLookupSession a SubscriptionLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionLookup() is false
Complianceoptional This method must be implemented if supportsSubscriptionLookup() is true.
MethodgetSubscriptionLookupSessionForPublisher
Description

Gets the OsidSession associated with the subscription lookup service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.SubscriptionLookupSession a SubscriptionLookupSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsSubscriptionLookup() and supportsVisibleFederation() are true
MethodgetSubscriptionQuerySession
Description

Gets the OsidSession associated with the subscription query service.

Returnosid.subscription.SubscriptionQuerySession a SubscriptionQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionQuery() is false
Complianceoptional This method must be implemented if supportsSubscriptionQuery() is true.
MethodgetSubscriptionQuerySessionForPublisher
Description

Gets the OsidSession associated with the subscription query service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.SubscriptionQuerySession a SubscriptionQuerySession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsSubscriptionQuery() and supportsVisibleFederation() are true
MethodgetSubscriptionSearchSession
Description

Gets the OsidSession associated with the subscription search service.

Returnosid.subscription.SubscriptionSearchSession a SubscriptionSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionSearch() is false
Complianceoptional This method must be implemented if supportsSubscriptionSearch() is true.
MethodgetSubscriptionSearchSessionForPublisher
Description

Gets the OsidSession associated with the subscription search service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.SubscriptionSearchSession a SubscriptionSearchSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsSubscriptionSearch() and supportsVisibleFederation() are true
MethodgetSubscriptionAdminSession
Description

Gets the OsidSession associated with the subscription administration service.

Returnosid.subscription.SubscriptionAdminSession a SubscriptionAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionAdmin() is false
Complianceoptional This method must be implemented if supportsSubscriptionAdmin() is true.
MethodgetSubscriptionAdminSessionForPublisher
Description

Gets the OsidSession associated with the subscription administration service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.SubscriptionAdminSession a SubscriptionAdminSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsSubscriptionAdmin() and supportsVisibleFederation() are true
MethodgetSubscriptionNotificationSession
Description

Gets the OsidSession associated with the subscription notification service.

Parametersosid.subscription.SubscriptionReceiversubscriptionReceiver the receiver
Returnosid.subscription.SubscriptionNotificationSession a SubscriptionNotificationSession
ErrorsNULL_ARGUMENT subscriptionReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionNotification() is false
Complianceoptional This method must be implemented if supportsSubscriptionNotification() is true.
MethodgetSubscriptionNotificationSessionForPublisher
Description

Gets the OsidSession associated with the subscription notification service for the given publisher.

Parametersosid.subscription.SubscriptionReceiversubscriptionReceiver the receiver
osid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.SubscriptionNotificationSession a SubscriptionNotificationSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT subscriptionReceiver or publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsSubscriptionNotification() and supportsVisibleFederation() are true
MethodgetSubscriptionPublisherSession
Description

Gets the session for retrieving subscription to publisher mappings.

Returnosid.subscription.SubscriptionPublisherSession a SubscriptionPublisherSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionPublisher() is false
Complianceoptional This method must be implemented if supportsSubscriptionPublisher() is true.
MethodgetSubscriptionPublisherAssignmentSession
Description

Gets the session for assigning subscription to publisher mappings.

Returnosid.subscription.SubscriptionPublisherAssignmentSession a SubscriptionPublisherAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionPublisherAssignment() is false
Complianceoptional This method must be implemented if supportsSubscriptionPublisherAssignment() is true.
MethodgetSubscriptionSmartPublisherSession
Description

Gets the session associated with the subscription smart publisher for the given publisher.

Parametersosid.id.IdpublisherId the Id of the publisher
Returnosid.subscription.SubscriptionSmartPublisherSession a SubscriptionSmartPublisherSession
ErrorsNOT_FOUND publisherId not found
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionSmartPublisher() is false
Complianceoptional This method must be implemented if supportsSubscriptionSmartPublisher() is true.
MethodgetDispatchLookupSession
Description

Gets the OsidSession associated with the dispatch lookup service.

Returnosid.subscription.DispatchLookupSession a DispatchLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchLookup() is false
Complianceoptional This method must be implemented if supportsDispatchLookup() is true.
MethodgetDispatchLookupSessionForPublisher
Description

Gets the OsidSession associated with the dispatch lookup service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Dispatch
Returnosid.subscription.DispatchLookupSession a DispatchLookupSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDispatchLookup() and supportsVisibleFederation() are true
MethodgetDispatchQuerySession
Description

Gets the OsidSession associated with the dispatch query service.

Returnosid.subscription.DispatchQuerySession a DispatchQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchQuery() is false
Complianceoptional This method must be implemented if supportsDispatchQuery() is true.
MethodgetDispatchQuerySessionForPublisher
Description

Gets the OsidSession associated with the dispatch query service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Dispatch
Returnosid.subscription.DispatchQuerySession a DispatchQuerySession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDispatchQuery() and supportsVisibleFederation() are true
MethodgetDispatchSearchSession
Description

Gets the OsidSession associated with the dispatch search service.

Returnosid.subscription.DispatchSearchSession a DispatchSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchSearch() is false
Complianceoptional This method must be implemented if supportsDispatchSearch() is true.
MethodgetDispatchSearchSessionForPublisher
Description

Gets the OsidSession associated with the dispatch search service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Dispatch
Returnosid.subscription.DispatchSearchSession a DispatchSearchSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDispatchSearch() and supportsVisibleFederation() are true
MethodgetDispatchAdminSession
Description

Gets the OsidSession associated with the dispatch administrative service.

Returnosid.subscription.DispatchAdminSession a DispatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchAdmin() is false
Complianceoptional This method must be implemented if supportsDispatchAdmin() is true.
MethodgetDispatchAdminSessionForPublisher
Description

Gets the OsidSession associated with the dispatch administrative service for the given publisher.

Parametersosid.id.IdpublisherId the Id of the Dispatch
Returnosid.subscription.DispatchAdminSession a DispatchAdminSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDispatchAdmin() and supportsVisibleFederation() are true
MethodgetDispatchNotificationSession
Description

Gets the OsidSession associated with the dispatch notification service.

Parametersosid.subscription.DispatchReceiverdispatchReceiver the receiver
Returnosid.subscription.DispatchNotificationSession a DispatchNotificationSession
ErrorsNULL_ARGUMENT dispatchReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchNotification() is false
Complianceoptional This method must be implemented if supportsDispatchNotification() is true.
MethodgetDispatchNotificationSessionForPublisher
Description

Gets the OsidSession associated with the dispatch notification service for the given publisher.

Parametersosid.subscription.DispatchReceiverdispatchReceiver the receiver
osid.id.IdpublisherId the Id of the Publisher
Returnosid.subscription.DispatchNotificationSession a DispatchNotificationSession
ErrorsNOT_FOUND no Publisher found by the given Id
NULL_ARGUMENT dispatchReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsDispatchNotification() and supportsVisibleFederation() are true
MethodgetDispatchPublisherSession
Description

Gets the session for retrieving dispatch to publisher mappings.

Returnosid.subscription.DispatchPublisherSession a DispatchPublisherSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchPublisher() is false
Complianceoptional This method must be implemented if supportsDispatchPublisher() is true.
MethodgetDispatchPublisherAssignmentSession
Description

Gets the session for assigning dispatch to publisher mappings.

Returnosid.subscription.DispatchPublisherAssignmentSession a DispatchPublisherAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchPublisherAssignment() is false
Complianceoptional This method must be implemented if supportsDispatchPublisherAssignment() is true.
MethodgetDispatchSmartPublisherSession
Description

Gets the session associated with the dispatch smart publisher for the given publisher.

Parametersosid.id.IdpublisherId the Id of the publisher
Returnosid.subscription.DispatchSmartPublisherSession a DispatchSmartPublisherSession
ErrorsNOT_FOUND publisherId not found
NULL_ARGUMENT publisherId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDispatchSmartPublisher() is false
Complianceoptional This method must be implemented if supportsDispatchSmartPublisher() is true.
MethodgetPublisherLookupSession
Description

Gets the OsidSession associated with the publisher lookup service.

Returnosid.subscription.PublisherLookupSession a PublisherLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherLookup() is false
Complianceoptional This method must be implemented if supportsPublisherLookup() is true.
MethodgetPublisherQuerySession
Description

Gets the OsidSession associated with the publisher query service.

Returnosid.subscription.PublisherQuerySession a PublisherQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherQuery() is false
Complianceoptional This method must be implemented if supportsPublisherQuery() is true.
MethodgetPublisherSearchSession
Description

Gets the OsidSession associated with the publisher search service.

Returnosid.subscription.PublisherSearchSession a PublisherSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherSearch() is false
Complianceoptional This method must be implemented if supportsPublisherSearch() is true.
MethodgetPublisherAdminSession
Description

Gets the OsidSession associated with the publisher administrative service.

Returnosid.subscription.PublisherAdminSession a PublisherAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherAdmin() is false
Complianceoptional This method must be implemented if supportsPublisherAdmin() is true.
MethodgetPublisherNotificationSession
Description

Gets the OsidSession associated with the publisher notification service.

Parametersosid.subscription.PublisherReceiverpublisherReceiver the receiver
Returnosid.subscription.PublisherNotificationSession a PublisherNotificationSession
ErrorsNULL_ARGUMENT publisherReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherNotification() is false
Complianceoptional This method must be implemented if supportsPublisherNotification() is true.
MethodgetPublisherHierarchySession
Description

Gets the OsidSession associated with the publisher hierarchy service.

Returnosid.subscription.PublisherHierarchySession a PublisherHierarchySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherHierarchy() is false
Complianceoptional This method must be implemented if supportsPublisherHierarchy() is true.
MethodgetPublisherHierarchyDesignSession
Description

Gets the OsidSession associated with the publisher hierarchy design service.

Returnosid.subscription.PublisherHierarchyDesignSession a PublisherHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPublisherHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsPublisherHierarchyDesign() is true.
MethodgetSubscriptionBatchManager
Description

Gets the SubscriptionBatchManager.

Returnosid.subscription.batch.SubscriptionBatchManager a SubscriptionBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionbatch() is false
Complianceoptional This method must be implemented if supportsSubscriptionbatch() is true.
MethodgetSubscriptionRulesManager
Description

Gets the SubscriptionRulesManager.

Returnosid.subscription.rules.SubscriptionRulesManager a SubscriptionRulesManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSubscriptionRules() is false
Complianceoptional This method must be implemented if supportsSubscriptionRules() is true.