org.broadleafcommerce.core.order.service
Class PageCartRuleProcessor
java.lang.Object
org.broadleafcommerce.cms.page.service.AbstractPageRuleProcessor
org.broadleafcommerce.core.order.service.PageCartRuleProcessor
- All Implemented Interfaces:
- PageRuleProcessor
public class PageCartRuleProcessor
- extends AbstractPageRuleProcessor
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageCartRuleProcessor
public PageCartRuleProcessor()
checkForMatch
public boolean checkForMatch(PageDTO page,
Map<String,Object> valueMap)
- Expects to find a valid "Customer" in the valueMap.
Uses the customer to locate the cart and then loops through the items in the current
cart and checks to see if the cart items rules are met.
- Parameters:
sc -
- Returns:
setOrderDao
public void setOrderDao(OrderDao orderDao)
getOrderDao
public OrderDao getOrderDao()
Copyright © 2013. All Rights Reserved.