Interface ActivityBatchForm

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

public interface ActivityBatchForm extends ActivityForm

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

  • Method Details

    • getActivityUnitId

      Id getActivityUnitId()
      Gets the ActivityUnit Id of the activity if this is a create transaction.
      Returns:
      the activity unit Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCourseOfferingId

      Id getCourseOfferingId()
      Gets the CourseOffering Id of the activity if this is a create transaction.
      Returns:
      the course offering Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getTermId

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

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