public class PriceOrderIfNecessaryActivity extends BaseActivity<ProcessContext<CartOperationRequest>>
| Modifier and Type | Field and Description |
|---|---|
protected FulfillmentGroupItemDao |
fgItemDao |
protected OrderItemService |
orderItemService |
protected OrderMultishipOptionService |
orderMultishipOptionService |
protected OrderService |
orderService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
PriceOrderIfNecessaryActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<CartOperationRequest> |
execute(ProcessContext<CartOperationRequest> context)
Called by the encompassing processor to activate
the execution of the Activity
|
protected void |
getOiFgiMap(Order order,
Map<OrderItem,List<FulfillmentGroupItem>> oiFgiMap,
OrderItem oi) |
protected void |
preSaveOperation(CartOperationRequest request)
Intended to be overridden by a custom implementation if there is a requirement to perform additional logic or
saves before triggering the main Order save with pricing.
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected OrderService orderService
protected OrderItemService orderItemService
protected FulfillmentGroupItemDao fgItemDao
protected OrderMultishipOptionService orderMultishipOptionService
public ProcessContext<CartOperationRequest> execute(ProcessContext<CartOperationRequest> context) throws Exception
Activitycontext - - process context for this workflowExceptionprotected void getOiFgiMap(Order order, Map<OrderItem,List<FulfillmentGroupItem>> oiFgiMap, OrderItem oi)
protected void preSaveOperation(CartOperationRequest request)
request - Copyright © 2015. All Rights Reserved.