Class SendSubscriptionOrderAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<OrderProcessModel>
-
- de.hybris.platform.sap.saprevenuecloudorder.actions.SendSubscriptionOrderAction
-
- All Implemented Interfaces:
Action<OrderProcessModel>
public class SendSubscriptionOrderAction extends AbstractSimpleDecisionAction<OrderProcessModel>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
AbstractSimpleDecisionAction.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 SendSubscriptionOrderAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSimpleDecisionAction.Transition
executeAction(OrderProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.BusinessProcessService
getBusinessProcessService()
protected java.lang.String
getPropertyValue(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap, java.lang.String property)
SapRevenueCloudOrderOutboundService
getSapRevenueCloudOrderOutboundService()
protected boolean
isSentSuccessfully(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap)
void
setBusinessProcessService(BusinessProcessService businessProcessService)
void
setSapRevenueCloudOrderOutboundService(SapRevenueCloudOrderOutboundService sapRevenueCloudOrderOutboundService)
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
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
-
executeAction
public AbstractSimpleDecisionAction.Transition executeAction(OrderProcessModel process) throws RetryLaterException
Description copied from class:AbstractSimpleDecisionAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractSimpleDecisionAction<OrderProcessModel>
- Parameters:
process
- The process context to work on.- Returns:
- OK; NOK
- Throws:
RetryLaterException
-
isSentSuccessfully
protected boolean isSentSuccessfully(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap)
-
getPropertyValue
protected java.lang.String getPropertyValue(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap, java.lang.String property)
-
getSapRevenueCloudOrderOutboundService
public SapRevenueCloudOrderOutboundService getSapRevenueCloudOrderOutboundService()
- Returns:
- the sapRevenueCloudOrderOutboundService
-
setSapRevenueCloudOrderOutboundService
public void setSapRevenueCloudOrderOutboundService(SapRevenueCloudOrderOutboundService sapRevenueCloudOrderOutboundService)
- Parameters:
sapRevenueCloudOrderOutboundService
- the sapRevenueCloudOrderOutboundService to set
-
getBusinessProcessService
public BusinessProcessService getBusinessProcessService()
- Returns:
- the businessProcessService
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
- Parameters:
businessProcessService
- the businessProcessService to set
-
-