Interface OfferingBatchForm

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

public interface OfferingBatchForm extends OfferingForm

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

  • Method Details

    • getCanonicalUnitId

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

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

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