Interface SubscriptionBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable, SubscriptionBatchProfile
The subscription batch manager provides access to subscription batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
SubscriptionBatchAdminSession: a session to create, modify and delete Subscriptions in bulk -
DispatchBatchAdminSession: a session to create, modify and deleteDispatchesin bulk -
PublisherBatchAdminSession: a session to create, modify and deletePublishersin bulk
SubscriptionBatchManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk dispatch administration service.getDispatchBatchAdminSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the bulk dispatch administration service for the given publisher.Gets theOsidSessionassociated with the bulk publisher administration service.Gets theOsidSessionassociated with the bulk subscription administration service.getSubscriptionBatchAdminSessionForPublisher(Id publisherId) Gets theOsidSessionassociated with the bulk subscription administration service for the given publisher.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdMethods inherited from interface SubscriptionBatchProfile
supportsDispatchBatchAdmin, supportsPublisherBatchAdmin, supportsSubscriptionBatchAdmin, supportsVisibleFederation
-
Method Details
-
getSubscriptionBatchAdminSession
Gets theOsidSessionassociated with the bulk subscription administration service.- Returns:
- a
SubscriptionBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionBatchAdmin()} is {@code true}.
-
getSubscriptionBatchAdminSessionForPublisher
SubscriptionBatchAdminSession getSubscriptionBatchAdminSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk subscription administration service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
SubscriptionBatchAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDispatchBatchAdminSession
Gets theOsidSessionassociated with the bulk dispatch administration service.- Returns:
- a
DispatchBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDispatchBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchBatchAdmin()} is {@code true}.
-
getDispatchBatchAdminSessionForPublisher
DispatchBatchAdminSession getDispatchBatchAdminSessionForPublisher(Id publisherId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk dispatch administration service for the given publisher.- Parameters:
publisherId- theIdof thePublisher- Returns:
- a
DispatchBatchAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getPublisherBatchAdminSession
Gets theOsidSessionassociated with the bulk publisher administration service.- Returns:
- a
PublisherBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPublisherBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherBatchAdmin()} is {@code true}.
-