Interface SubscriptionBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable, SubscriptionBatchProfile
The subscription batch proxy manager provides access to subscription
batch sessions and provides interoperability tests for various aspects of
this service. Methods in this manager support the passing of a
Proxy . The sessions included in this manager are:
-
SubscriptionBatchAdminSession: a session to manage subscriptions in bulk -
DispatchBatchAdminSession: a session to manage dispatches in 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, Proxy proxy) 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 work administration service.getSubscriptionBatchAdminSessionForPublisher(Id publisherId, Proxy proxy) Gets theOsidSessionassociated with the bulk subscription administration service for the given publisher.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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
DispatchBatchAdminSession getSubscriptionBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk work administration service.- Parameters:
proxy- a proxy- Returns:
- a
DispatchBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubscriptionBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubscriptionBatchAdmin()} is {@code true} .
-
getSubscriptionBatchAdminSessionForPublisher
SubscriptionBatchAdminSession getSubscriptionBatchAdminSessionForPublisher(Id publisherId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk subscription administration service for the given publisher.- Parameters:
publisherId- theIdof thePublisherproxy- a proxy- Returns:
- a
SubscriptionBatchAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
DispatchBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchBatchAdmin()} is {@code true} .
-
getDispatchBatchAdminSessionForPublisher
DispatchBatchAdminSession getDispatchBatchAdminSessionForPublisher(Id publisherId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk dispatch administration service for the given publisher.- Parameters:
publisherId- theIdof thePublisherproxy- a proxy- Returns:
- a
DispatchBatchAdminSession - Throws:
NotFoundException- noPublisherfound by the givenIdNullArgumentException-publisherIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDispatchBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDispatchBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getPublisherBatchAdminSession
PublisherBatchAdminSession getPublisherBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk publisher administration service.- Parameters:
proxy- a proxy- Returns:
- a
PublisherBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPublisherBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPublisherBatchAdmin()} is {@code true} .
-