Interface CommentingBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, CommentingBatchProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The commenting batch proxy manager provides access to commenting batch
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
object. The sessions included in this manager are:
-
CommentBatchSession: a session to create, modify and delete comments in bulk -
BookBatchAdminSession: a session to create, modify and delete books in bulk
-
Method Summary
Modifier and TypeMethodDescriptiongetBookBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk book administration service.getCommentBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk comment administration service.getCommentBatchAdminSessionForBook(Id bookId, Proxy proxy) Gets theOsidSessionassociated with the bulk comment administration service for the given book.Methods inherited from interface CommentingBatchProfile
supportsBookBatchAdmin, supportsCommentBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of books is available.booleanTests if bulk administration of comments is available.booleanTests if federation is visible.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.
-
Method Details
-
getCommentBatchAdminSession
Gets theOsidSessionassociated with the bulk comment administration service.- Parameters:
proxy- a proxy- Returns:
- a
CommentBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCommentBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCommentBatchAdmin()} is {@code true} .
-
getCommentBatchAdminSessionForBook
CommentBatchAdminSession getCommentBatchAdminSessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk comment administration service for the given book.- Parameters:
bookId- theIdof theBookproxy- a proxy- Returns:
- a
CommentBatchAdminSession - Throws:
NotFoundException- noBookfound by the givenIdNullArgumentException-bookIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCommentBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCommentBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getBookBatchAdminSession
Gets theOsidSessionassociated with the bulk book administration service.- Parameters:
proxy- a proxy- Returns:
- a
BookBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBookBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBookBatchAdmin()} is {@code true} .
-