org.broadleafcommerce.core.pricing.service.workflow
Class FulfillmentGroupPricingActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<PricingContext>
org.broadleafcommerce.core.pricing.service.workflow.FulfillmentGroupPricingActivity
- All Implemented Interfaces:
- Activity<PricingContext>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered
public class FulfillmentGroupPricingActivity
- extends BaseActivity<PricingContext>
Called during the pricing workflow to compute all of the fulfillment costs
for all of the FulfillmentGroups on an Order and updates Order with the
total price of all of the FufillmentGroups
- Author:
- Phillip Verheyden
- See Also:
FulfillmentGroup}, {@link Order}
| 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 |
FulfillmentGroupPricingActivity
public FulfillmentGroupPricingActivity()
setFulfillmentPricingService
public void setFulfillmentPricingService(FulfillmentPricingService fulfillmentPricingService)
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
Copyright © 2013. All Rights Reserved.