OSID Logo
OSID Specifications
subscription rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.subscription.rules.SubscriptionRulesProxyManager
Implementsosid.OsidProxyManager
osid.subscription.rules.SubscriptionRulesProfile
Description

The subscription rules proxy manager provides access to subscription rules sessions and provides interoperability tests for various aspects of this service. Methods in this manager pass a Proxy for passing information from server environments. The sessions included in this manager are:

  • SubscriptionEnablerLookupSession: a session to retrieve subscription enablers
  • SubscriptionEnablerQuerySession: a session to query for subscription enablers
  • SubscriptionEnablerSearchSession: a session to search for subscription enablers
  • SubscriptionEnablerAdminSession: a session to create and delete subscription enablers
  • SubscriptionEnablerNotificationSession: a session to receive notifications pertaining to subscription enabler changes
  • SubscriptionEnablerPublisherSession: a session to look up subscription enabler publisher mappings
  • SubscriptionEnablerPublisherAssignmentSession: a session to manage subscription enabler to publisher mappings
  • SubscriptionEnablerSmartPublisherSession: a session to manage dynamic publishers of subscription enablers
  • SubscriptionEnablerRuleLookupSession: a session to look up subscription enabler to subscription mappings
  • SubscriptionEnablerRuleApplicationSession: a session to apply subscription enablers to subscriptions
MethodgetSubscriptionEnablerLookupSession
Description

Gets the OsidSession associated with the subscription enabler lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerLookupSessiona SubscriptionEnablerLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerLookup() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerLookup() is true.
MethodgetSubscriptionEnablerLookupSessionForPublisher
Description

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

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerLookupSessiona SubscriptionEnablerLookupSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerLookup() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerQuerySession
Description

Gets the OsidSession associated with the subscription enabler query service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerQuerySessiona SubscriptionEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerQuery() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerQuery() is true.
MethodgetSubscriptionEnablerQuerySessionForPublisher
Description

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

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerQuerySessiona SubscriptionEnablerQuerySession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerQuery() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerSearchSession
Description

Gets the OsidSession associated with the subscription enabler search service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerSearchSessiona SubscriptionEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerSearch() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerSearch() is true.
MethodgetSubscriptionEnablerSearchSessionForPublisher
Description

Gets the OsidSession associated with the subscription enablers earch service for the given publisher.

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerSearchSessiona SubscriptionEnablerSearchSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerSearch() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerAdminSession
Description

Gets the OsidSession associated with the subscription enabler administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerAdminSessiona SubscriptionEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerAdmin() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerAdmin() is true.
MethodgetSubscriptionEnablerAdminSessionForPublisher
Description

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

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerAdminSessiona SubscriptionEnablerAdminSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerNotificationSession
Description

Gets the OsidSession associated with the subscription enabler notification service.

Parametersosid.subscription.rules.SubscriptionEnablerReceiversubscriptionEnablerReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerNotificationSessiona SubscriptionEnablerNotificationSession
ErrorsNULL_ARGUMENT subscriptionEnablerReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerNotification() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerNotification() is true.
MethodgetSubscriptionEnablerNotificationSessionForPublisher
Description

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

Parametersosid.subscription.rules.SubscriptionEnablerReceiversubscriptionEnablerReceiverthe notification callback
osid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerNotificationSessiona SubscriptionEnablerNotificationSession
ErrorsNOT_FOUNDno publisher found by the given Id
NULL_ARGUMENT subscriptionEnablerReceiver, publisherId, or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerNotification() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerPublisherSession
Description

Gets the OsidSession to lookup subscription enabler/publisher mappings for subscription enablers.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerPublisherSessiona SubscriptionEnablerSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerPublisher() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerPublisher() is true.
MethodgetSubscriptionEnablerPublisherAssignmentSession
Description

Gets the OsidSession associated with assigning subscription enablers to publishers

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerPublisherAssignmentSessiona SubscriptionEnablerPublisherAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerPublisherAssignment() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerPublisherAssignment() is true.
MethodgetSubscriptionEnablerSmartPublisherSession
Description

Gets the OsidSession to manage subscription enabler smart publishers.

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerSmartPublisherSessiona SubscriptionEnablerSmartPublisherSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerSmartPublisher() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerSmarPublisher() is true.
MethodgetSubscriptionEnablerRuleLookupSession
Description

Gets the OsidSession associated with the subscription enabler mapping lookup service for looking up the rules applied to the subscription.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerRuleLookupSessiona SubscriptionEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerRuleLookup() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerRuleLookup() is true.
MethodgetSubscriptionEnablerRuleLookupSessionForPublisher
Description

Gets the OsidSession associated with the subscription enabler mapping lookup service for the given subscription for looking up rules applied to a subscription.

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerRuleLookupSessiona SubscriptionEnablerRuleLookupSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerRuleLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetSubscriptionEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the subscription enabler assignment service to apply enablers to subscriptions.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerRuleApplicationSessiona SubscriptionEnablerRuleApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerRuleApplication() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerRuleApplication() is true.
MethodgetSubscriptionEnablerRuleApplicationSessionForPublisher
Description

Gets the OsidSession associated with the subscription enabler assignment service for the given subscription to apply enablers to subscriptions.

Parametersosid.id.IdpublisherIdthe Id of the Publisher
osid.proxy.Proxyproxya proxy
Returnosid.subscription.rules.SubscriptionEnablerRuleApplicationSessiona SubscriptionEnablerRuleApplicationSession
ErrorsNOT_FOUNDno Publisher found by the given Id
NULL_ARGUMENT publisherId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsSubscriptionEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsSubscriptionEnablerRuleApplication() and supportsVisibleFederation() are true.