Class FulfillmentGroupPricingActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<ProcessContext<Order>>
org.broadleafcommerce.core.pricing.service.workflow.FulfillmentGroupPricingActivity
- All Implemented Interfaces:
Activity<ProcessContext<Order>>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.core.Ordered
@Component("blFulfillmentGroupPricingActivity")
public class FulfillmentGroupPricingActivity
extends BaseActivity<ProcessContext<Order>>
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
-
Field Summary
FieldsFields inherited from class org.broadleafcommerce.core.workflow.BaseActivity
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfigurationFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ProcessContext<Order> context) Called by the encompassing processor to activate the execution of the ActivityvoidsetFulfillmentPricingService(FulfillmentPricingService fulfillmentPricingService) Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
FulfillmentGroupPricingActivity
public FulfillmentGroupPricingActivity()
-
-
Method Details