Class SubmitOrderEventTask
java.lang.Object
de.hybris.platform.chinesepaymentfacades.order.task.SubmitOrderEventTask
- All Implemented Interfaces:
TaskRunner<TaskModel>
Runs for reducing stock and publishing SubmitOrderEvent when order being paid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ChineseCheckoutServiceprotected CustomerAccountServiceprotected EventPublishingSubmitOrderStrategyprotected longgetOrderForCurrentStoreAndUser(TaskModel taskModel) protected longprotected UserServicevoidhandleError(TaskService paramTaskService, TaskModel taskModel, Throwable error) voidrun(TaskService paramTaskService, TaskModel taskModel) voidsetChineseCheckoutService(ChineseCheckoutService chineseCheckoutService) voidsetCustomerAccountService(CustomerAccountService customerAccountService) voidsetEventPublishingSubmitOrderStrategy(EventPublishingSubmitOrderStrategy eventPublishingSubmitOrderStrategy) voidsetMaxRetries(int maxRetries) voidsetRetryDelay(int retryDelay) voidsetUserService(UserService userService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
Constructor Details
-
SubmitOrderEventTask
public SubmitOrderEventTask()
-
-
Method Details
-
run
- Specified by:
runin interfaceTaskRunner<TaskModel>
-
handleError
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
getOrderForCurrentStoreAndUser
-
getMaxRetries
protected long getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) -
getRetryDelay
protected long getRetryDelay() -
setRetryDelay
public void setRetryDelay(int retryDelay) -
getChineseCheckoutService
-
setChineseCheckoutService
-
getEventPublishingSubmitOrderStrategy
-
setEventPublishingSubmitOrderStrategy
public void setEventPublishingSubmitOrderStrategy(EventPublishingSubmitOrderStrategy eventPublishingSubmitOrderStrategy) -
getUserService
-
setUserService
-
getCustomerAccountService
-
setCustomerAccountService
-