|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderManagementUtils
Interface for utility methods used by Struts Action classes implement Ajax functionality.
When the application needs to create an instance that implements
AjaxUtils
, it calls
BusinessObjectFactory.createUtilsObject(java.lang.String)
,
which finds the name of the Java class to instantiate from the
"ajaxUtilsImplemeter" setting in the appComponents.properties
file.
The default "ajaxUtilsImplemeter" is
OrderManagementUtilsImpl
.
Method Summary | |
---|---|
java.util.Collection |
findCouponCodes(Order order)
Given an order object, return a Collection of all the coupon codes used by OrderDiscount objects under the Order. |
java.util.Map |
findOrderChanges(Order order,
Order originalOrder,
java.util.Collection newOrderItems)
Given an order and another order to compare it to, return a Map describing the differences between the two orders. |
java.util.Map |
findPreviousShippingOption(java.util.Collection options,
Order order,
BaseForm baseForm)
Given a Collection of valid shipping options and an Order object, attempts to find the shippping option within the collection that was previously selected for the order. |
Method Detail |
---|
java.util.Map findPreviousShippingOption(java.util.Collection options, Order order, BaseForm baseForm)
options
- order
- baseForm
-
java.util.Collection findCouponCodes(Order order)
order
-
java.util.Map findOrderChanges(Order order, Order originalOrder, java.util.Collection newOrderItems)
order
- originalOrder
- newOrderItems
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |