org.broadleafcommerce.core.pricing.service.workflow
Class ConsolidateFulfillmentFeesActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<PricingContext>
org.broadleafcommerce.core.pricing.service.workflow.ConsolidateFulfillmentFeesActivity
- All Implemented Interfaces:
- Activity<PricingContext>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered
public class ConsolidateFulfillmentFeesActivity
- extends BaseActivity<PricingContext>
- Author:
- Phillip Verheyden
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPRESSION_CACHE
protected static final Map EXPRESSION_CACHE
fulfillmentGroupService
protected FulfillmentGroupService fulfillmentGroupService
ConsolidateFulfillmentFeesActivity
public ConsolidateFulfillmentFeesActivity()
execute
public PricingContext execute(PricingContext context)
throws Exception
- Description copied from interface:
Activity
- Called by the encompassing processor to activate
the execution of the Activity
- Parameters:
context - - process context for this workflow
- Returns:
- resulting process context
- Throws:
Exception
shouldApplyFeeToFulfillmentGroup
protected boolean shouldApplyFeeToFulfillmentGroup(SkuFee fee,
FulfillmentGroup fulfillmentGroup)
- If the SkuFee expression is null or empty, this method will always return true
- Parameters:
fee - fulfillmentGroup -
- Returns:
Copyright © 2013. All Rights Reserved.