Interface IngredientBatchForm

All Superinterfaces:
Extensible, Identifiable, IngredientForm, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidSubjugateableForm, Suppliable

public interface IngredientBatchForm extends IngredientForm

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

  • Method Details

    • getDirectionId

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

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