public class SapSendOrderToDataHubAction extends AbstractProceduralAction<OrderProcessModel>
AbstractProceduralAction.TransitionmodelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
SapSendOrderToDataHubAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAction(OrderProcessModel process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
protected BusinessProcessService |
getBusinessProcessService() |
protected int |
getMaxRetries() |
protected int |
getRetryDelay() |
protected SendToDataHubHelper<OrderModel> |
getSendOrderToDataHubHelper() |
protected void |
handleRetry(OrderProcessModel process) |
protected void |
resetEndMessage(OrderProcessModel process) |
void |
setBusinessProcessService(BusinessProcessService businessProcessService) |
void |
setMaxRetries(int maxRetries) |
protected void |
setOrderStatus(OrderModel order,
ExportStatus exportStatus) |
void |
setRetryDelay(int retryDelay) |
void |
setSendOrderToDataHubHelper(SendToDataHubHelper<OrderModel> sendOrderAsCSVHelper) |
execute, getTransitionscreateTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextpublic void executeAction(OrderProcessModel process) throws RetryLaterException
AbstractProceduralActionAction's business logic working on the given BusinessProcessModel.executeAction in class AbstractProceduralAction<OrderProcessModel>process - The process context to work on.RetryLaterExceptionprotected void handleRetry(OrderProcessModel process) throws RetryLaterException
RetryLaterExceptionprotected void setOrderStatus(OrderModel order, ExportStatus exportStatus)
protected void resetEndMessage(OrderProcessModel process)
protected SendToDataHubHelper<OrderModel> getSendOrderToDataHubHelper()
public void setSendOrderToDataHubHelper(SendToDataHubHelper<OrderModel> sendOrderAsCSVHelper)
protected BusinessProcessService getBusinessProcessService()
public void setBusinessProcessService(BusinessProcessService businessProcessService)
protected int getMaxRetries()
public void setMaxRetries(int maxRetries)
protected int getRetryDelay()
public void setRetryDelay(int retryDelay)
Copyright © 2018 SAP SE. All Rights Reserved.