OSID Logo
OSID Specifications
commenting batch package
Version 3.1.0
Interfaceosid.commenting.batch.CommentingBatchManager
Implementsosid.OsidManager
osid.commenting.batch.CommentingBatchProfile
Used Byosid.commenting.CommentingManager
Description

The commenting batch manager provides access to commenting batch sessions and provides interoperability tests for various aspects of this service. 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
MethodgetCommentBatchAdminSession
Description

Gets the OsidSession associated with the bulk comment administration service.

Returnosid.commenting.batch.CommentBatchAdminSession a CommentBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCommentBatchAdmin() is false
Complianceoptional This method must be implemented if supportsCommentBatchAdmin() is true.
MethodgetCommentBatchAdminSessionForBook
Description

Gets the OsidSession associated with the bulk comment administration service for the given book.

Parametersosid.id.IdbookId the Id of the Book
Returnosid.commenting.batch.CommentBatchAdminSession a CommentBatchAdminSession
ErrorsNOT_FOUND no Book found by the given Id
NULL_ARGUMENT bookId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsCommentBatchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsCommentBatchAdmin() and supportsVisibleFederation() are true
MethodgetBookBatchAdminSession
Description

Gets the OsidSession associated with the bulk book administration service.

Returnosid.commenting.batch.BookBatchAdminSession a BookBatchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBookBatchAdmin() is false
Complianceoptional This method must be implemented if supportsBookBatchAdmin() is true.