org.broadleafcommerce.core.pricing.service.workflow
Class ConsolidateFulfillmentFeesActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity
org.broadleafcommerce.core.pricing.service.workflow.ConsolidateFulfillmentFeesActivity
- All Implemented Interfaces:
- Activity, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
public class ConsolidateFulfillmentFeesActivity
- extends BaseActivity
- Author:
- Phillip Verheyden
| Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setRollbackHandler, setRollbackRegion, setStateConfiguration |
| 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 ProcessContext execute(ProcessContext 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.