public class OrderTemplateToOrderJob extends AbstractJobPerformable<OrderTemplateToOrderCronJobModel>
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
OrderTemplateToOrderJob() |
| Modifier and Type | Method and Description |
|---|---|
PerformResult |
perform(OrderTemplateToOrderCronJobModel cronJob)
The execution body for a
ServicelayerJob. |
void |
setOrderUtility(OrderUtility orderUtility) |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic void setOrderUtility(OrderUtility orderUtility)
orderUtility - the orderUtility to setpublic PerformResult perform(OrderTemplateToOrderCronJobModel cronJob)
JobPerformableServicelayerJob. Implement here your execution logic. It can be called
synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the
execution has reached end and if it was successful.perform in interface JobPerformable<OrderTemplateToOrderCronJobModel>perform in class AbstractJobPerformable<OrderTemplateToOrderCronJobModel>cronJob - the related CronJob in whose context the execution will be performed.PerformResult that indicates whether the execution was successfully executed
or not and has finished or not.Copyright © 2018 SAP SE. All Rights Reserved.