Class SapRevenueCloudCustomerPublishAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<BusinessProcessModel>
-
- com.sap.hybris.saprevenuecloudcustomer.action.SapRevenueCloudCustomerPublishAction
-
- All Implemented Interfaces:
Action<BusinessProcessModel>
public class SapRevenueCloudCustomerPublishAction extends AbstractSimpleDecisionAction<BusinessProcessModel>
Publish Customer to Revenue Cloud via CPI.
-
-
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 SapRevenueCloudCustomerPublishAction()
-
Method Summary
-
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(BusinessProcessModel process) throws RetryLaterException
Description copied from class:AbstractSimpleDecisionAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractSimpleDecisionAction<BusinessProcessModel>
- Parameters:
process
- The process context to work on.- Returns:
- OK; NOK
- Throws:
RetryLaterException
-
getPropertyValue
protected java.lang.String getPropertyValue(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap, java.lang.String property)
-
isSentSuccessfully
protected boolean isSentSuccessfully(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap)
-
getCustomerPopulator
public Populator getCustomerPopulator()
- Returns:
- the customerPopulator
-
setCustomerPopulator
public void setCustomerPopulator(Populator customerPopulator)
- Parameters:
customerPopulator
- the customerPopulator to set
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService
- the configurationService to set
-
getSapMarketToCatalogMappingModelGenericDao
public GenericDao<SAPMarketToCatalogMappingModel> getSapMarketToCatalogMappingModelGenericDao()
- Returns:
- the sapMarketToCatalogMappingModelGenericDao
-
setSapMarketToCatalogMappingModelGenericDao
public void setSapMarketToCatalogMappingModelGenericDao(GenericDao<SAPMarketToCatalogMappingModel> sapMarketToCatalogMappingModelGenericDao)
- Parameters:
sapMarketToCatalogMappingModelGenericDao
- the sapMarketToCatalogMappingModelGenericDao to set
-
getSapRevenueCloudCustomerOutboundService
public SapRevenueCloudCustomerOutboundService getSapRevenueCloudCustomerOutboundService()
- Returns:
- the sapRevenueCloudCustomerOutboundService
-
setSapRevenueCloudCustomerOutboundService
public void setSapRevenueCloudCustomerOutboundService(SapRevenueCloudCustomerOutboundService sapRevenueCloudCustomerOutboundService)
- Parameters:
sapRevenueCloudCustomerOutboundService
- the sapRevenueCloudCustomerOutboundService to set
-
-