Class CustomerPublishAction
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<BusinessProcessModel>
com.sap.hybris.sapcustomerb2c.outbound.CustomerPublishAction
- All Implemented Interfaces:
de.hybris.platform.processengine.spring.Action<BusinessProcessModel>
public class CustomerPublishAction
extends de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<BusinessProcessModel>
Action class to publish the registered customer to the Data Hub
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition -
Field Summary
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.processengine.action.AbstractSimpleDecisionAction.TransitionexecuteAction(BusinessProcessModel businessProcessModel) /** action method to the update the customer and trigger the publish to Data Hubde.hybris.platform.processengine.BusinessProcessServiceDeprecated, for removal: This API element is subject to removal in a future version.(since = "2005", forRemoval = true)protected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGeneratorreturn instance to send customer to the Data Hubde.hybris.platform.commercefacades.storesession.impl.DefaultStoreSessionFacadeReturn Session Store Facade instancevoidsetCustomerAccountService(DefaultB2CSapCustomerAccountService customerAccountService) Deprecated, for removal: This API element is subject to removal in a future version.(since = "2005", forRemoval = true)protected voidsetSapContactId(BusinessProcessModel businessProcessModel) Generates a new Contact ID and set it to the Customer ModelvoidsetSapContactIdGenerator(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator sapContactIdGenerator) voidsetSendCustomerToDataHub(CustomerExportService sendCustomerToDataHub) set instance to send customer to the Data HubvoidsetStoreSessionFacade(de.hybris.platform.commercefacades.storesession.impl.DefaultStoreSessionFacade storeSessionFacade) Set Session Store Facade instanceMethods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
execute, getTransitionsMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
CustomerPublishAction
public CustomerPublishAction()
-
-
Method Details
-
getBusinessProcessService
public de.hybris.platform.processengine.BusinessProcessService getBusinessProcessService()- Returns:
- businessProcessService
-
executeAction
public de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition executeAction(BusinessProcessModel businessProcessModel) throws de.hybris.platform.task.RetryLaterException /** action method to the update the customer and trigger the publish to Data Hub- Specified by:
executeActionin classde.hybris.platform.processengine.action.AbstractSimpleDecisionAction<BusinessProcessModel>- Throws:
de.hybris.platform.task.RetryLaterException
-
setSapContactId
Generates a new Contact ID and set it to the Customer Model- Parameters:
businessProcessModel-
-
getSendCustomerToDataHub
return instance to send customer to the Data Hub- Returns:
- sendCustomerToDataHub
-
setSendCustomerToDataHub
set instance to send customer to the Data Hub- Parameters:
sendCustomerToDataHub-
-
getStoreSessionFacade
public de.hybris.platform.commercefacades.storesession.impl.DefaultStoreSessionFacade getStoreSessionFacade()Return Session Store Facade instance- Returns:
- storeSessionFacade
-
setStoreSessionFacade
public void setStoreSessionFacade(de.hybris.platform.commercefacades.storesession.impl.DefaultStoreSessionFacade storeSessionFacade) Set Session Store Facade instance- Parameters:
storeSessionFacade-
-
getCustomerAccountService
@Deprecated(since="2005", forRemoval=true) public DefaultB2CSapCustomerAccountService getCustomerAccountService()Deprecated, for removal: This API element is subject to removal in a future version.(since = "2005", forRemoval = true) -
setCustomerAccountService
@Deprecated(since="2005", forRemoval=true) public void setCustomerAccountService(DefaultB2CSapCustomerAccountService customerAccountService) Deprecated, for removal: This API element is subject to removal in a future version.(since = "2005", forRemoval = true) -
getSapContactIdGenerator
protected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator getSapContactIdGenerator() -
setSapContactIdGenerator
public void setSapContactIdGenerator(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator sapContactIdGenerator)
-