@Component(value="blCartStateRequestProcessor") public class CartStateRequestProcessor extends AbstractBroadleafWebRequestProcessor
CartStateFilter},
BroadleafWebRequestProcessor},
ServletWebRequest},
org.springframework.web.portlet.context.PortletWebRequest}| Modifier and Type | Field and Description |
|---|---|
protected static String |
anonymousCartSessionAttributeName |
static String |
BLC_RULE_MAP_PARAM |
protected static String |
cartRequestAttributeName |
protected CustomerStateRequestProcessor |
customerStateRequestProcessor |
protected org.apache.commons.logging.Log |
LOG
Logger for this class and subclasses
|
protected MergeCartService |
mergeCartService |
protected OrderService |
orderService |
protected UpdateCartService |
updateCartService |
| Constructor and Description |
|---|
CartStateRequestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCartRequestAttributeName() |
Order |
mergeCart(Customer customer,
org.springframework.web.context.request.WebRequest request) |
boolean |
mergeCartNeeded(Customer customer,
org.springframework.web.context.request.WebRequest request) |
void |
process(org.springframework.web.context.request.WebRequest request) |
static void |
setCartRequestAttributeName(String cartRequestAttributeName) |
postProcessprotected final org.apache.commons.logging.Log LOG
public static final String BLC_RULE_MAP_PARAM
protected OrderService orderService
protected UpdateCartService updateCartService
protected MergeCartService mergeCartService
protected CustomerStateRequestProcessor customerStateRequestProcessor
protected static String cartRequestAttributeName
protected static String anonymousCartSessionAttributeName
public void process(org.springframework.web.context.request.WebRequest request)
public boolean mergeCartNeeded(Customer customer, org.springframework.web.context.request.WebRequest request)
public Order mergeCart(Customer customer, org.springframework.web.context.request.WebRequest request)
public static String getCartRequestAttributeName()
public static void setCartRequestAttributeName(String cartRequestAttributeName)
Copyright © 2014. All Rights Reserved.