org.broadleafcommerce.core.web.order
Class OrderState
java.lang.Object
org.broadleafcommerce.core.web.order.OrderState
public class OrderState
- extends Object
This class is used as a request-scope container for the current
orderid. As a result, items that need the order during the control
flow of a single request may retrieve the order from this object. OrderState
utilizes the DAO to retrieve the full order from its dehydrated state in the
Hibernate cache.
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderState
public OrderState()
getOrder
public Order getOrder(Customer customer)
setOrder
public Order setOrder(Customer customer,
Order order)
isUpdatePrices
public boolean isUpdatePrices()
setUpdatePrices
public void setUpdatePrices(boolean updatePrices)
Copyright © 2013. All Rights Reserved.