@Service(value="blCartRuleService") public class CartRuleServiceImpl extends Object implements CartRuleService
| Modifier and Type | Field and Description |
|---|---|
protected CartRuleDao |
cartRuleDao |
| Constructor and Description |
|---|
CartRuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<CartRuleAction> |
findActionsForCartRule(CartRule cartRule)
Returns a list of
CartRuleActions for a given CartRule |
List<CartRule> |
findActiveCartRules()
Returns a list of all active
CartRules |
List<CartRule> |
findActiveCartRulesWithExecutionType(ExecutionTimeType executionTimeType)
Returns a list of all active
CartRules with a given ExecutionTimeType |
List<com.broadleafcommerce.customersegment.domain.CustomerSegment> |
findCustomerSegmentsForCartRule(CartRule cartRule)
Returns a list of
CustomerSegments for a given CartRule |
protected List<com.broadleafcommerce.customersegment.domain.CustomerSegment> |
getCustomerSegmentsFromXrefs(List<CartRuleCustomerSegmentXref> xrefs) |
protected CartRuleDao cartRuleDao
public List<CartRule> findActiveCartRules()
CartRuleServiceCartRulesfindActiveCartRules in interface CartRuleServicepublic List<CartRule> findActiveCartRulesWithExecutionType(ExecutionTimeType executionTimeType)
CartRuleServiceCartRules with a given ExecutionTimeTypefindActiveCartRulesWithExecutionType in interface CartRuleServicepublic List<CartRuleAction> findActionsForCartRule(CartRule cartRule)
CartRuleServiceCartRuleActions for a given CartRulefindActionsForCartRule in interface CartRuleServicepublic List<com.broadleafcommerce.customersegment.domain.CustomerSegment> findCustomerSegmentsForCartRule(CartRule cartRule)
CartRuleServiceCustomerSegments for a given CartRulefindCustomerSegmentsForCartRule in interface CartRuleServiceprotected List<com.broadleafcommerce.customersegment.domain.CustomerSegment> getCustomerSegmentsFromXrefs(List<CartRuleCustomerSegmentXref> xrefs)
Copyright © 2019. All rights reserved.