Interface SubscriptionManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable, SubscriptionProfile
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.
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the dispatch administrative service.getDispatchAdminSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the dispatch administrative service for the given publisher.Gets theOsidSessionassociated with the dispatch lookup service.getDispatchLookupSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the dispatch lookup service for the given publisher.getDispatchNotificationSession(DispatchReceiver dispatchReceiver) Gets theOsidSessionassociated with the dispatch notification service.getDispatchNotificationSessionForPublisher(DispatchReceiver dispatchReceiver, Id publisherId) Gets theOsidSessionassociated with the dispatch notification service for the given publisher.Gets the session for assigning dispatch to publisher mappings.Gets the session for retrieving dispatch to publisher mappings.Gets theOsidSessionassociated with the dispatch query service.getDispatchQuerySessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the dispatch query service for the given publisher.Gets theOsidSessionassociated with the dispatch search service.getDispatchSearchSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the dispatch search service for the given publisher.getDispatchSmartPublisherSession(Id publisherId) Gets the session associated with the dispatch smart publisher for the given publisher.Gets theOsidSessionassociated with the subscription administrative service for the authenticated agent.getMySubscriptionAdminSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription administrative service for the authenticated agent for the given publisher.Gets theOsidSessionassociated with the subscription lookup service for the authenticated agent.getMySubscriptionSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription lookup service for the authenticated agent for the given publisher.Gets theOsidSessionassociated with the publisher administrative service.Gets theOsidSessionassociated with the publisher hierarchy design service.Gets theOsidSessionassociated with the publisher hierarchy service.Gets theOsidSessionassociated with the publisher lookup service.getPublisherNotificationSession(PublisherReceiver publisherReceiver) Gets theOsidSessionassociated with the publisher notification service.Gets theOsidSessionassociated with the publisher query service.Gets theOsidSessionassociated with the publisher search service.Gets theOsidSessionassociated with the subscription administration service.getSubscriptionAdminSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription administration service for the given publisher.Gets theSubscriptionBatchManager.Gets theOsidSessionassociated with the subscription lookup service.getSubscriptionLookupSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription lookup service for the given publisher.getSubscriptionNotificationSession(SubscriptionReceiver subscriptionReceiver) Gets theOsidSessionassociated with the subscription notification service.getSubscriptionNotificationSessionForPublisher(SubscriptionReceiver subscriptionReceiver, Id publisherId) Gets theOsidSessionassociated with the subscription notification service for the given publisher.Gets the session for assigning subscription to publisher mappings.Gets the session for retrieving subscription to publisher mappings.Gets theOsidSessionassociated with the subscription query service.getSubscriptionQuerySessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription query service for the given publisher.Gets theSubscriptionRulesManager.Gets theOsidSessionassociated with the subscription search service.getSubscriptionSearchSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the subscription search service for the given publisher.getSubscriptionSmartPublisherSession(Id publisherId) Gets the session associated with the subscription smart publisher for the given publisher.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.Methods inherited from interface SubscriptionProfile
getDispatchRecordTypes, getDispatchSearchRecordTypes, getPublisherRecordTypes, getPublisherSearchRecordTypes, getSubscriptionRecordTypes, getSubscriptionSearchRecordTypes, supportsDispatchAdmin, supportsDispatchLookup, supportsDispatchNotification, supportsDispatchPublisher, supportsDispatchPublisherAssignment, supportsDispatchQuery, supportsDispatchRecordType, supportsDispatchSearch, supportsDispatchSearchRecordType, supportsDispatchSmartPublisher, supportsMySubscription, supportsMySubscriptionAdmin, supportsPublisherAdmin, supportsPublisherHierarchy, supportsPublisherHierarchyDesign, supportsPublisherLookup, supportsPublisherNotification, supportsPublisherQuery, supportsPublisherRecordType, supportsPublisherSearch, supportsPublisherSearchRecordType, supportsSubscriptionAdmin, supportsSubscriptionBatch, supportsSubscriptionLookup, supportsSubscriptionNotification, supportsSubscriptionPublisher, supportsSubscriptionPublisherAssignment, supportsSubscriptionQuery, supportsSubscriptionRecordType, supportsSubscriptionRules, supportsSubscriptionSearch, supportsSubscriptionSearchRecordType, supportsSubscriptionSmartPublisher, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedDispatchrecord types.Gets the supported dispatch search record types.Gets the supportedPublisherrecord types.Gets the supported publisher search record types.Gets the supportedSubscriptionrecord types.Gets the supported subscription search record types.booleanTests for the availability of a dispatch administrative service for creating and deleting dispatches.booleanTests for the availability of a dispatch lookup service.booleanTests for the availability of a dispatch notification service.booleanTests if a dispatch to publisher lookup session is available.booleanTests if a dispatch to publisher assignment session is available.booleanTests if querying dispatches is available.booleansupportsDispatchRecordType(Type dispatchRecordType) Tests if the givenDispatchrecord type is supported.booleanTests if searching for dispatches is available.booleansupportsDispatchSearchRecordType(Type dispatchSearchRecordType) Tests if the given dispatch search record type is supported.booleanTests if a dispatch smart publisher session is available.booleanTests for the availability of a my subscription lookup service.booleanTests for the availability of a my subscription administrative service.booleanTests for the availability of a publisher administrative service for creating and deleting publishers.booleanTests for the availability of a publisher hierarchy traversal service.booleanTests for the availability of a publisher hierarchy design service.booleanTests for the availability of a publisher lookup service.booleanTests for the availability of a publisher notification service.booleanTests if querying publishers is available.booleansupportsPublisherRecordType(Type publisherRecordType) Tests if the givenPublisherrecord type is supported.booleanTests if searching for publishers is available.booleansupportsPublisherSearchRecordType(Type publisherSearchRecordType) Tests if the given publisher search record type is supported.booleanTests if searching for subscriptions is available.booleanTests for the availability of a subscription batch service.booleanTests for the availability of a subscription lookup service.booleanTests if subscription notification is available.booleanTests if a subscription to publisher lookup session is available.booleanTests if a subscription to publisher assignment session is available.booleanTests if querying subscriptions is available.booleansupportsSubscriptionRecordType(Type subscriptionRecordType) Tests if the givenSubscriptionrecord type is supported.booleanTests for the availability of a subscription rules service.booleanTests if searching for subscriptions is available.booleansupportsSubscriptionSearchRecordType(Type subscriptionSearchRecordType) Tests if the given subscription search record type is supported.booleanTests if a subscription smart publisher session is available.booleanTests if any dispatch federation is exposed.
-
Method Details
-
getMySubscriptionSession
Gets theOsidSessionassociated with the subscription lookup service for the authenticated agent.- Returns:
- a
MySubscriptionSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsMySubscription()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMySubscription()} is {@code true} .
-
getMySubscriptionSessionForPublisher
MySubscriptionSession getMySubscriptionSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription lookup service for the authenticated agent for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
MySubscriptionSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMySubscription()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMySubscription()} and {@code supportsVisibleFederation()} are {@code true}
-
getMySubscriptionAdminSession
Gets theOsidSessionassociated with the subscription administrative service for the authenticated agent.- Returns:
- a
MySubscriptionSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsMySubscriptionAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMySubscriptionAdmin()} is {@code true} .
-
getMySubscriptionAdminSessionForPublisher
MySubscriptionAdminSession getMySubscriptionAdminSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription administrative service for the authenticated agent for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
MySubscriptionSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMySubscriptionAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMySubscriptionAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionLookupSession
Gets theOsidSessionassociated with the subscription lookup service.- Returns:
- a
SubscriptionLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionLookup()} is {@code true} .
-
getSubscriptionLookupSessionForPublisher
SubscriptionLookupSession getSubscriptionLookupSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription lookup service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
SubscriptionLookupSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionQuerySession
Gets theOsidSessionassociated with the subscription query service.- Returns:
- a
SubscriptionQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionQuery()} is {@code true} .
-
getSubscriptionQuerySessionForPublisher
SubscriptionQuerySession getSubscriptionQuerySessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription query service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
SubscriptionQuerySession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionSearchSession
Gets theOsidSessionassociated with the subscription search service.- Returns:
- a
SubscriptionSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionSearch()} is {@code true} .
-
getSubscriptionSearchSessionForPublisher
SubscriptionSearchSession getSubscriptionSearchSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription search service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
SubscriptionSearchSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionAdminSession
Gets theOsidSessionassociated with the subscription administration service.- Returns:
- a
SubscriptionAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionAdmin()} is {@code true} .
-
getSubscriptionAdminSessionForPublisher
SubscriptionAdminSession getSubscriptionAdminSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription administration service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
SubscriptionAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionNotificationSession
SubscriptionNotificationSession getSubscriptionNotificationSession(SubscriptionReceiver subscriptionReceiver) throws OperationFailedException Gets theOsidSessionassociated with the subscription notification service.- Parameters:
subscriptionReceiver- the receiver- Returns:
- a
SubscriptionNotificationSession - Throws:
NullArgumentException-subscriptionReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionNotification()} is {@code true} .
-
getSubscriptionNotificationSessionForPublisher
SubscriptionNotificationSession getSubscriptionNotificationSessionForPublisher(SubscriptionReceiver subscriptionReceiver, Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subscription notification service for the given publisher.- Parameters:
subscriptionReceiver- the receiverpublisherId- theIdof thePublisher- Returns:
- a
SubscriptionNotificationSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-subscriptionReceiverorpublisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getSubscriptionPublisherSession
Gets the session for retrieving subscription to publisher mappings.- Returns:
- a
SubscriptionPublisherSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionPublisher()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionPublisher()} is {@code true} .
-
getSubscriptionPublisherAssignmentSession
SubscriptionPublisherAssignmentSession getSubscriptionPublisherAssignmentSession() throws OperationFailedExceptionGets the session for assigning subscription to publisher mappings.- Returns:
- a
SubscriptionPublisherAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionPublisherAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionPublisherAssignment()} is {@code true} .
-
getSubscriptionSmartPublisherSession
SubscriptionSmartPublisherSession getSubscriptionSmartPublisherSession(Id publisherId) throws NotFoundException, OperationFailedException Gets the session associated with the subscription smart publisher for the given publisher.- Parameters:
publisherId- theIdof the publisher- Returns:
- a
SubscriptionSmartPublisherSession - Throws:
NotFoundException-publisherIdnot foundNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionSmartPublisher()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionSmartPublisher()} is {@code true} .
-
getDispatchLookupSession
Gets theOsidSessionassociated with the dispatch lookup service.- Returns:
- a
DispatchLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchLookup()} is {@code true} .
-
getDispatchLookupSessionForPublisher
DispatchLookupSession getDispatchLookupSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the dispatch lookup service for the given publisher.- Parameters:
publisherId- theIdof theDispatch- Returns:
- a
DispatchLookupSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchQuerySession
Gets theOsidSessionassociated with the dispatch query service.- Returns:
- a
DispatchQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchQuery()} is {@code true} .
-
getDispatchQuerySessionForPublisher
DispatchQuerySession getDispatchQuerySessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the dispatch query service for the given publisher.- Parameters:
publisherId- theIdof theDispatch- Returns:
- a
DispatchQuerySession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchSearchSession
Gets theOsidSessionassociated with the dispatch search service.- Returns:
- a
DispatchSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchSearch()} is {@code true} .
-
getDispatchSearchSessionForPublisher
DispatchSearchSession getDispatchSearchSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the dispatch search service for the given publisher.- Parameters:
publisherId- theIdof theDispatch- Returns:
- a
DispatchSearchSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchAdminSession
Gets theOsidSessionassociated with the dispatch administrative service.- Returns:
- a
DispatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchAdmin()} is {@code true} .
-
getDispatchAdminSessionForPublisher
DispatchAdminSession getDispatchAdminSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the dispatch administrative service for the given publisher.- Parameters:
publisherId- theIdof theDispatch- Returns:
- a
DispatchAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchNotificationSession
DispatchNotificationSession getDispatchNotificationSession(DispatchReceiver dispatchReceiver) throws OperationFailedException Gets theOsidSessionassociated with the dispatch notification service.- Parameters:
dispatchReceiver- the receiver- Returns:
- a
DispatchNotificationSession - Throws:
NullArgumentException-dispatchReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchNotification()} is {@code true} .
-
getDispatchNotificationSessionForPublisher
DispatchNotificationSession getDispatchNotificationSessionForPublisher(DispatchReceiver dispatchReceiver, Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the dispatch notification service for the given publisher.- Parameters:
dispatchReceiver- the receiverpublisherId- theIdof thePublisher- Returns:
- a
DispatchNotificationSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-dispatchReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchPublisherSession
Gets the session for retrieving dispatch to publisher mappings.- Returns:
- a
DispatchPublisherSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchPublisher()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchPublisher()} is {@code true} .
-
getDispatchPublisherAssignmentSession
DispatchPublisherAssignmentSession getDispatchPublisherAssignmentSession() throws OperationFailedExceptionGets the session for assigning dispatch to publisher mappings.- Returns:
- a
DispatchPublisherAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchPublisherAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchPublisherAssignment()} is {@code true} .
-
getDispatchSmartPublisherSession
DispatchSmartPublisherSession getDispatchSmartPublisherSession(Id publisherId) throws NotFoundException, OperationFailedException Gets the session associated with the dispatch smart publisher for the given publisher.- Parameters:
publisherId- theIdof the publisher- Returns:
- a
DispatchSmartPublisherSession - Throws:
NotFoundException-publisherIdnot foundNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchSmartPublisher()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchSmartPublisher()} is {@code true} .
-
getPublisherLookupSession
Gets theOsidSessionassociated with the publisher lookup service.- Returns:
- a
PublisherLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherLookup()} is {@code true} .
-
getPublisherQuerySession
Gets theOsidSessionassociated with the publisher query service.- Returns:
- a
PublisherQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherQuery()} is {@code true} .
-
getPublisherSearchSession
Gets theOsidSessionassociated with the publisher search service.- Returns:
- a
PublisherSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherSearch()} is {@code true} .
-
getPublisherAdminSession
Gets theOsidSessionassociated with the publisher administrative service.- Returns:
- a
PublisherAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherAdmin()} is {@code true} .
-
getPublisherNotificationSession
PublisherNotificationSession getPublisherNotificationSession(PublisherReceiver publisherReceiver) throws OperationFailedException Gets theOsidSessionassociated with the publisher notification service.- Parameters:
publisherReceiver- the receiver- Returns:
- a
PublisherNotificationSession - Throws:
NullArgumentException-publisherReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPublisherNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherNotification()} is {@code true} .
-
getPublisherHierarchySession
Gets theOsidSessionassociated with the publisher hierarchy service.- Returns:
- a
PublisherHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherHierarchy()} is {@code true} .
-
getPublisherHierarchyDesignSession
PublisherHierarchyDesignSession getPublisherHierarchyDesignSession() throws OperationFailedExceptionGets theOsidSessionassociated with the publisher hierarchy design service.- Returns:
- a
PublisherHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherHierarchyDesign()} is {@code true} .
-
getSubscriptionBatchManager
Gets theSubscriptionBatchManager.- Returns:
- a
SubscriptionBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionbatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionbatch()} is {@code true} .
-
getSubscriptionRulesManager
Gets theSubscriptionRulesManager.- Returns:
- a
SubscriptionRulesManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionRules()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionRules()} is {@code true} .
-