Interface CourseEntryBatchForm

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

public interface CourseEntryBatchForm extends CourseEntryForm

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

  • Method Details

    • getCourseId

      Id getCourseId()
      Gets the Course Id of the course entry if this is a create transaction.
      Returns:
      the course Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getStudentId

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

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