public class AddOrderItemActivity extends BaseActivity<ProcessContext<CartOperationRequest>>
| Modifier and Type | Field and Description |
|---|---|
protected CatalogService |
catalogService |
protected OrderItemService |
orderItemService |
protected OrderService |
orderService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
AddOrderItemActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<CartOperationRequest> |
execute(ProcessContext<CartOperationRequest> context)
Called by the encompassing processor to activate
the execution of the Activity
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected OrderService orderService
protected OrderItemService orderItemService
protected CatalogService catalogService
public ProcessContext<CartOperationRequest> execute(ProcessContext<CartOperationRequest> context) throws Exception
Activitycontext - - process context for this workflowExceptionCopyright © 2014. All Rights Reserved.