public class SubmitOrderEventTask extends java.lang.Object implements TaskRunner<TaskModel>
| Constructor and Description |
|---|
SubmitOrderEventTask() |
| Modifier and Type | Method and Description |
|---|---|
protected ChineseCheckoutService |
getChineseCheckoutService() |
protected CustomerAccountService |
getCustomerAccountService() |
protected EventPublishingSubmitOrderStrategy |
getEventPublishingSubmitOrderStrategy() |
protected long |
getMaxRetries() |
OrderModel |
getOrderForCurrentStoreAndUser(TaskModel taskModel) |
protected long |
getRetryDelay() |
protected UserService |
getUserService() |
void |
handleError(TaskService paramTaskService,
TaskModel taskModel,
java.lang.Throwable error) |
void |
run(TaskService paramTaskService,
TaskModel taskModel) |
void |
setChineseCheckoutService(ChineseCheckoutService chineseCheckoutService) |
void |
setCustomerAccountService(CustomerAccountService customerAccountService) |
void |
setEventPublishingSubmitOrderStrategy(EventPublishingSubmitOrderStrategy eventPublishingSubmitOrderStrategy) |
void |
setMaxRetries(int maxRetries) |
void |
setRetryDelay(int retryDelay) |
void |
setUserService(UserService userService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitLoggingCtx, isLoggingSupported, stopLoggingCtxpublic void run(TaskService paramTaskService, TaskModel taskModel)
run in interface TaskRunner<TaskModel>public void handleError(TaskService paramTaskService, TaskModel taskModel, java.lang.Throwable error)
handleError in interface TaskRunner<TaskModel>public OrderModel getOrderForCurrentStoreAndUser(TaskModel taskModel)
protected long getMaxRetries()
public void setMaxRetries(int maxRetries)
protected long getRetryDelay()
public void setRetryDelay(int retryDelay)
protected ChineseCheckoutService getChineseCheckoutService()
public void setChineseCheckoutService(ChineseCheckoutService chineseCheckoutService)
protected EventPublishingSubmitOrderStrategy getEventPublishingSubmitOrderStrategy()
public void setEventPublishingSubmitOrderStrategy(EventPublishingSubmitOrderStrategy eventPublishingSubmitOrderStrategy)
protected UserService getUserService()
public void setUserService(UserService userService)
protected CustomerAccountService getCustomerAccountService()
public void setCustomerAccountService(CustomerAccountService customerAccountService)
Copyright © 2018 SAP SE. All Rights Reserved.