Interface ResponseBatchForm

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

public interface ResponseBatchForm extends ResponseForm

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

  • Method Details

    • getResponseId

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

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

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