Class SapC4cCustomerPublishAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<BusinessProcessModel>
-
- com.sap.hybris.c4c.customer.action.SapC4cCustomerPublishAction
-
- All Implemented Interfaces:
Action<BusinessProcessModel>
public class SapC4cCustomerPublishAction extends AbstractSimpleDecisionAction<BusinessProcessModel>
Action class to publish the registered customer to the SCPI
-
-
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 SapC4cCustomerPublishAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSimpleDecisionAction.Transition
executeAction(BusinessProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.SapC4cCustomerPublicationService
getC4cCustomerPublicationService()
SapC4cCustomerUtils
getCustomerUtil()
void
setC4cCustomerPublicationService(SapC4cCustomerPublicationService c4cCustomerPublicationService)
void
setCustomerUtil(SapC4cCustomerUtils customerUtil)
-
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
-
getC4cCustomerPublicationService
public SapC4cCustomerPublicationService getC4cCustomerPublicationService()
- Returns:
- the c4cCustomerPublicationService
-
setC4cCustomerPublicationService
public void setC4cCustomerPublicationService(SapC4cCustomerPublicationService c4cCustomerPublicationService)
- Parameters:
c4cCustomerPublicationService
- the c4cCustomerPublicationService to set
-
getCustomerUtil
public SapC4cCustomerUtils getCustomerUtil()
- Returns:
- the customerUtil
-
setCustomerUtil
public void setCustomerUtil(SapC4cCustomerUtils customerUtil)
- Parameters:
customerUtil
- the customerUtil to set
-
-