6320ch_DEV_post_migration.fm

Draft Document for Review July 28, 2004 7:33 pm

*/

protected Item[] getItems()

{

return iItems;

}

/**

*Set the list of order items that must be processed. */

public void setItems(Item[] items)

{

super.setItems(items); iItems = items;

}

/**

*Apply order adjustments to all items in iItems.

*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 iItems array

//will be added to the iAppliedItems set for validation in

//the checkAppliedItems method.

:

:

}

/**

*Return a Set containing instances of the Items that have had

*applied an order adjustment to them.

*/

public Set getAppliedItems()

{

return iAppliedItems;

}

/**

*Checks if a value has been calculated and applied to each and

*every item.

*If not, an ECApplicationException with ECMessage _ERR_CALCODE will

*be thrown.

*@exception ECException

*/

136Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 154
Image 154
IBM SG24-6320-00 manual 6320chDEVpostmigration.fm