@Component(value="blOfferActivity") public class OfferActivity extends BaseActivity<ProcessContext<Order>>
| Modifier and Type | Field and Description |
|---|---|
static String |
FINALIZE_CHECKOUT |
protected OfferValueModifierExtensionManager |
offerModifierExtensionManager |
static String |
OFFERS_EXPIRED |
protected OfferService |
offerService |
static int |
ORDER |
protected OrderService |
orderService |
static String |
ORIG_OFFERS |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
OfferActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<Order> |
execute(ProcessContext<Order> context)
Called by the encompassing processor to activate
the execution of the Activity
|
protected List<OfferCode> |
getNewOfferCodesFromCustomer(Order order) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecutepublic static final int ORDER
public static final String FINALIZE_CHECKOUT
public static final String OFFERS_EXPIRED
public static final String ORIG_OFFERS
protected OfferService offerService
protected OrderService orderService
protected OfferValueModifierExtensionManager offerModifierExtensionManager
public ProcessContext<Order> execute(ProcessContext<Order> context) throws Exception
Activitycontext - - process context for this workflowExceptionCopyright © 2021. All rights reserved.