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
-
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, 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 SubscriptionBatchProfile
supportsDispatchBatchAdmin, supportsPublisherBatchAdmin, supportsSubscriptionBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of dispatches is available.booleanTests if bulk administration of publishers is available.booleanTests if bulk administration of subscriptions is available.booleanTests if federation is visible.
-
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} .
-