public class RemoveOrderItemActivity extends BaseActivity<ProcessContext<CartOperationRequest>>
| Modifier and Type | Field and Description |
|---|---|
protected OrderItemService |
orderItemService |
protected OrderService |
orderService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
RemoveOrderItemActivity() |
| 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 |
removeItemAndChildren(List<OrderItem> oisToDelete,
OrderItem orderItem) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected OrderService orderService
protected OrderItemService orderItemService
public ProcessContext<CartOperationRequest> execute(ProcessContext<CartOperationRequest> context) throws Exception
Activitycontext - - process context for this workflowExceptionCopyright © 2015. All Rights Reserved.