Interface CommentBatchForm

All Superinterfaces:
CommentForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable

public interface CommentBatchForm extends CommentForm

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.

  • Method Details

    • getResourceId

      Id getResourceId()
      Gets the Resource Id of the comment if this is a create transaction.
      Returns:
      the resource Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getWorkId

      Id getWorkId()
      Gets the work Id of the comment if this is a create transaction.
      Returns:
      the work Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCommentId

      Id getCommentId()
      Gets the Id of the comment to be updated if this is an update transaction.
      Returns:
      the comment Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.