Class DefaultSapMDMCustomerImportService
- java.lang.Object
-
- de.hybris.platform.sap.sapcpicustomerexchangemdm.inbound.impl.DefaultSapMDMCustomerImportService
-
- All Implemented Interfaces:
SapMDMCustomerImportService
public class DefaultSapMDMCustomerImportService extends java.lang.Object implements SapMDMCustomerImportService
This Service Class Process the In Bound Customer
-
-
Constructor Summary
Constructors Constructor Description DefaultSapMDMCustomerImportService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CustomerReplicationEventcreateCustomerReplicationEvent(java.lang.String customerId)Return new created CustomerReplicationEventvoidprocessConsumerReplicationNotificationFromMDM(CustomerModel sapCpiOutboundCustomerModel)Process the In Bound Customer Creation Notification From Back Endprotected CustomerModelreadCustomer(java.lang.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)
-
-
-
Method Detail
-
processConsumerReplicationNotificationFromMDM
public void processConsumerReplicationNotificationFromMDM(CustomerModel sapCpiOutboundCustomerModel)
Process the In Bound Customer Creation Notification From Back End- Specified by:
processConsumerReplicationNotificationFromMDMin interfaceSapMDMCustomerImportService- Parameters:
sapCpiOutboundCustomerModel- CustomerModel
-
readCustomer
protected CustomerModel readCustomer(java.lang.String customerId)
Reads the customer via flexible search- Parameters:
customerId-- Returns:
- CustomerModel
-
createCustomerReplicationEvent
protected CustomerReplicationEvent createCustomerReplicationEvent(java.lang.String customerId)
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)
-
-