Class SapCpiSendRevenueCloudOrderOutboundAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction<OrderProcessModel>
-
- de.hybris.platform.sap.saporderexchangeoms.actions.SapOmsSendOrderToDataHubAction
-
- de.hybris.platform.sap.sapcpiorderexchangeoms.actions.SapCpiOmsOrderOutboundAction
-
- de.hybris.platform.sap.saprevenuecloudorder.actions.SapCpiSendRevenueCloudOrderOutboundAction
-
- All Implemented Interfaces:
Action<OrderProcessModel>
public class SapCpiSendRevenueCloudOrderOutboundAction extends SapCpiOmsOrderOutboundAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
AbstractProceduralAction.Transition
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelper
-
Fields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE
-
-
Constructor Summary
Constructors Constructor Description SapCpiSendRevenueCloudOrderOutboundAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SapRevenueCloudOrderOutboundService
getSapRevenueCloudOrderOutboundService()
protected void
saveSapOrders(OrderModel order, java.util.List<SAPOrderModel> sapOrders)
Save SAP orders and Set Subscription Order statusprotected rx.Single<org.springframework.http.ResponseEntity<java.util.Map>>
sendOrderToScpi(OrderModel order, java.util.Set<ConsignmentModel> consignments, java.util.List<OrderHistoryEntryModel> orderHistoryList, java.util.List<SAPOrderModel> sapOrders)
void
setSapRevenueCloudOrderOutboundService(SapRevenueCloudOrderOutboundService sapRevenueCloudOrderOutboundService)
protected void
startSapConsignmentSubProcess(java.util.Collection<ConsignmentModel> consignments, OrderProcessModel process)
* Start an SAP consignment process for every hybris consignment - skips consignment process for Subscription Order-
Methods inherited from class de.hybris.platform.sap.sapcpiorderexchangeoms.actions.SapCpiOmsOrderOutboundAction
executeAction, getSapCpiOrderOutboundConversionService, getSapCpiOutboundService, sendOrdersToScpi, setSapCpiOrderOutboundConversionService, setSapCpiOutboundService
-
Methods inherited from class de.hybris.platform.sap.saporderexchangeoms.actions.SapOmsSendOrderToDataHubAction
createOrderHistory, createSapOrders, getBusinessProcessService, getMaxRetries, getOrderHistoryService, getOrderService, getRetryDelay, getSapLogSysName, getSapPlantLogSysOrgService, getSapSalesOrgName, getSendOrderToDataHubHelper, getTimeService, groupOrderConsignments, handleRetry, resetEndMessage, saveOrderHistory, sendOrder, setBusinessProcessService, setMaxRetries, setOrderHistoryService, setOrderService, setOrderStatus, setRetryDelay, setSapPlantLogSysOrgService, setSendOrderToDataHubHelper, setTimeService
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitions
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
-
-
-
Method Detail
-
sendOrderToScpi
protected rx.Single<org.springframework.http.ResponseEntity<java.util.Map>> sendOrderToScpi(OrderModel order, java.util.Set<ConsignmentModel> consignments, java.util.List<OrderHistoryEntryModel> orderHistoryList, java.util.List<SAPOrderModel> sapOrders)
- Overrides:
sendOrderToScpi
in classSapCpiOmsOrderOutboundAction
-
startSapConsignmentSubProcess
protected void startSapConsignmentSubProcess(java.util.Collection<ConsignmentModel> consignments, OrderProcessModel process)
* Start an SAP consignment process for every hybris consignment - skips consignment process for Subscription Order- Overrides:
startSapConsignmentSubProcess
in classSapOmsSendOrderToDataHubAction
- Parameters:
consignments
-process
-
-
saveSapOrders
protected void saveSapOrders(OrderModel order, java.util.List<SAPOrderModel> sapOrders)
Save SAP orders and Set Subscription Order status- Overrides:
saveSapOrders
in classSapOmsSendOrderToDataHubAction
- Parameters:
order
-sapOrders
-
-
getSapRevenueCloudOrderOutboundService
public SapRevenueCloudOrderOutboundService getSapRevenueCloudOrderOutboundService()
-
setSapRevenueCloudOrderOutboundService
public void setSapRevenueCloudOrderOutboundService(SapRevenueCloudOrderOutboundService sapRevenueCloudOrderOutboundService)
-
-