public class ValidateAddRequestActivity extends BaseActivity<CartOperationContext>
| Modifier and Type | Field and Description |
|---|---|
protected CatalogService |
catalogService |
protected OrderService |
orderService |
protected ProductOptionValidationService |
productOptionValidationService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
ValidateAddRequestActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkSkuForMatch(Sku sku,
Map<String,String> attributeValues) |
protected Sku |
determineSku(Product product,
Long skuId,
Map<String,String> attributeValues) |
CartOperationContext |
execute(CartOperationContext context)
Called by the encompassing processor to activate
the execution of the Activity
|
protected Sku |
findMatchingSku(Product product,
Map<String,String> attributeValues) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected OrderService orderService
protected CatalogService catalogService
protected ProductOptionValidationService productOptionValidationService
public CartOperationContext execute(CartOperationContext context) throws Exception
Activitycontext - - process context for this workflowExceptionprotected Sku determineSku(Product product, Long skuId, Map<String,String> attributeValues)
Copyright © 2014. All Rights Reserved.