OSID Logo
OSID Specifications
ordering batch package
Version 3.1.0
Interfaceosid.ordering.batch.OrderItemBatchForm
Implementsosid.ordering.OrderItemForm
Used Byosid.ordering.batch.OrderItemBatchFormList
Description

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

Like all OsidForms, OrderItemBatchForm is stateful and must not be accessed by multiple processing threads.

MethodgetOrderId
Description

Gets the order Id of the order item if this is a create transaction.

Returnosid.id.Id the order Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetProductId
Description

Gets the Product Id of the order item if this is a create transaction.

Returnosid.id.Id the product Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetOrderItemId
Description

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

Returnosid.id.Id the order item Id
ErrorsILLEGAL_STATE isForUpdate() is false
Compliancemandatory This method must be implemented.