6320ch_DEV_post_migration.fm Draft Document for Review July 28, 2004 7:33 pm
136 Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
*/
protected Item[] getItems()
{return iItems;
}
/**
* Set the list of order items that must be pro cessed.
*/
public void setItems(Item[] items)
{super.setItems(items);
iItems = items;
}
/**
* Apply order adjustments to all items in iIte ms.
* Update iAppliedItems with the items that have had order adjustments
* applied to them.
*/
public void performExecute()
{:
:
// customized shipping calculation...
// when the shipping charge for an order item has been
// applied, the corresponding object from the i Items array
// will be added to the iAppliedItems set for validation in
// the checkAppliedItems method.
:
:
}
/**
* Return a Set containing instances of the Ite ms that have had
* applied an order adjustment to them.
*/
public Set getAppliedItems()
{return iAppliedItems;
}
/**
* Checks if a value has been calculated and ap plied to each and
* every item.
* If not, an ECApplicationException with ECMes sage _ERR_CALCODE will
* be thrown.
* @exception ECException
*/