OSID Logo
OSID Specifications
commenting batch package
Version 3.1.0
Interfaceosid.commenting.batch.CommentBatchForm
Implementsosid.commenting.CommentForm
Used Byosid.commenting.batch.CommentBatchFormList
Description

This is the form for creating and updating comments in bulk. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the CommentBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetResourceId
Description

Gets the Resource Id of the comment if this is a create transaction.

Returnosid.id.Id the resource Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetWorkId
Description

Gets the work Id of the comment if this is a create transaction.

Returnosid.id.Id the work Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetCommentId
Description

Gets the Id of the comment to be updated if this is an update transaction.

Returnosid.id.Id the comment Id
ErrorsILLEGAL_STATE isForUpdate() is false
Compliancemandatory This method must be implemented.