Class DefaultSapMDMCustomerImportService
java.lang.Object
de.hybris.platform.sap.sapcpicustomerexchangemdm.inbound.impl.DefaultSapMDMCustomerImportService
- All Implemented Interfaces:
SapMDMCustomerImportService
public class DefaultSapMDMCustomerImportService
extends Object
implements SapMDMCustomerImportService
This Service Class Process the In Bound Customer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CustomerReplicationEventcreateCustomerReplicationEvent(String customerId) Return new created CustomerReplicationEventvoidprocessConsumerReplicationNotificationFromMDM(CustomerModel sapCpiOutboundCustomerModel) Process the In Bound Customer Creation Notification From Back Endprotected CustomerModelreadCustomer(String customerId) Reads the customer via flexible searchvoidsetEventService(de.hybris.platform.servicelayer.event.EventService eventService) voidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
-
Constructor Details
-
DefaultSapMDMCustomerImportService
public DefaultSapMDMCustomerImportService()
-
-
Method Details
-
processConsumerReplicationNotificationFromMDM
public void processConsumerReplicationNotificationFromMDM(CustomerModel sapCpiOutboundCustomerModel) Process the In Bound Customer Creation Notification From Back End- Specified by:
processConsumerReplicationNotificationFromMDMin interfaceSapMDMCustomerImportService- Parameters:
sapCpiOutboundCustomerModel- CustomerModel
-
readCustomer
Reads the customer via flexible search- Parameters:
customerId-- Returns:
- CustomerModel
-
createCustomerReplicationEvent
Return new created CustomerReplicationEvent- Parameters:
customerId-- Returns:
- CustomerReplicationEvent
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) -
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService) -
setEventService
public void setEventService(de.hybris.platform.servicelayer.event.EventService eventService)
-