
227
imPlementing a business aPPliCation using Coda
3. OrderUI asks some business component to provide the current list of items
ordered from the table. Let us call this operation getOrderItems(Table
table).
4. OrderUI presents the list of OrderItems to the user and asks the user to
select the item to modify/cancel.
5. OrderUI passes the inputs collected from the user to some business com-
ponent to modify the Order. Call this operation modifyOrder(Table
table, OrderItem orderItem, int newQuantity). For cancel-
ling the OrderItem, we define the operation as cancelOrder(Table
table, OrderItem orderItem).
6. e business component is supposed ...