@Component(value="blCountTotalOffersActivity") public class CountTotalOffersActivity extends BaseActivity<ProcessContext<Order>>
DetermineOfferChangeActivity to determine if the number
of offers changed on the order during the pricing workflow. This is important in determining if an offer
expired between the last time the order was priced and when the order was about to be sent through checkout.| Modifier and Type | Field and Description |
|---|---|
protected OfferService |
offerService |
static int |
ORDER |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
CountTotalOffersActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Long> |
convertOffersToIds(Set<Offer> offers) |
ProcessContext<Order> |
execute(ProcessContext<Order> 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, shouldExecutepublic static final int ORDER
protected OfferService offerService
public ProcessContext<Order> execute(ProcessContext<Order> context) throws Exception
Activitycontext - - process context for this workflowExceptionCopyright © 2022. All rights reserved.