public interface Display
DECIMAL values are represented as String objects to allow Order Entry to be run on J2ME/CDC/Foundation which does not support BigDecimal.
| Modifier and Type | Method and Description |
|---|---|
void |
displayNewOrder(java.lang.Object displayData,
Warehouse warehouse,
District district,
Customer customer,
Order order)
Display the result of a new order.
|
void |
displayOrderStatus(java.lang.Object displayData,
boolean byName,
Customer customer,
Order order,
OrderLine[] lineItems)
Display the result of an order status.
|
void |
displayPayment(java.lang.Object displayData,
java.lang.String amount,
boolean byName,
Warehouse warehouse,
District district,
Customer customer)
Display the result of a payment.
|
void |
displayScheduleDelivery(java.lang.Object displayData,
short w,
short carrier)
Display the result of a delivery schedule.
|
void |
displayStockLevel(java.lang.Object displayData,
short w,
short d,
int threshold,
int lowStock)
Display the result of a stock level.
|
void displayStockLevel(java.lang.Object displayData,
short w,
short d,
int threshold,
int lowStock)
throws java.lang.Exception
displayData - Client specific display information, such as servlet context.w - Warehouse (input)d - District (input)threshold - Threshold (input)lowStock - (result)java.lang.Exception - Error displaying datavoid displayOrderStatus(java.lang.Object displayData,
boolean byName,
Customer customer,
Order order,
OrderLine[] lineItems)
throws java.lang.Exception
displayData - Client specific display information, such as servlet context.byName - Executed by name or by identifier.customer - Customer for orderorder - Order fetched.lineItems - Items for the orderjava.lang.Exceptionvoid displayPayment(java.lang.Object displayData,
java.lang.String amount,
boolean byName,
Warehouse warehouse,
District district,
Customer customer)
throws java.lang.Exception
displayData - Client specific display information, such as servlet context.amount - Amount of payment.byName - Executed by name or by identifier.warehouse - Warehouse of paymentdistrict - District of paymentcustomer - Customer of payment.java.lang.Exceptionvoid displayNewOrder(java.lang.Object displayData,
Warehouse warehouse,
District district,
Customer customer,
Order order)
throws java.lang.Exception
displayData - Client specific display information, such as servlet context.warehouse - Warehouse of new orderdistrict - District of new ordercustomer - Customer of new orderorder - The new orderjava.lang.Exceptionvoid displayScheduleDelivery(java.lang.Object displayData,
short w,
short carrier)
throws java.lang.Exception
displayData - Client specific display information, such as servlet context.w - Warehouse identifiercarrier - Carrier identifierjava.lang.ExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.