OSID Logo
OSID Specifications
recipe batch package
Version 3.0.0
Interfaceosid.recipe.batch.IngredientBatchForm
Implementsosid.recipe.IngredientForm
Used Byosid.recipe.batch.IngredientBatchFormList
Description

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.

MethodgetDirectionId
Description

Gets the Id of the direction if this is a create transaction.

Returnosid.id.Idthe direction Id
ErrorsILLEGAL_STATEisForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetIngredientId
Description

Gets the Id of the ingredient to be updated if this is an update transaction.

Returnosid.id.Idthe ingredient Id
ErrorsILLEGAL_STATEisForUpdate() is false
CompliancemandatoryThis method must be implemented.