Class DefaultOdmCustomerPrepareInterceptor

java.lang.Object
com.sap.sapodmservices.interceptor.DefaultOdmCustomerPrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<CustomerModel>

public class DefaultOdmCustomerPrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<CustomerModel>

DefaultOdmCustomerPrepareInterceptor is used for persisting externalIds of given Customer into SAPExternalIdModel

  • Constructor Details

    • DefaultOdmCustomerPrepareInterceptor

      public DefaultOdmCustomerPrepareInterceptor()
  • Method Details

    • onPrepare

      public void onPrepare(CustomerModel customerModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException

      This method is used to add various id's like BuPa UID, CDC Id etc within External Id.

      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<CustomerModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getOdmConfigService

      public DefaultOdmConfigService getOdmConfigService()
    • setOdmConfigService

      public void setOdmConfigService(DefaultOdmConfigService odmConfigService)
    • getSapOdmExternalIdUtil

      public SapOdmExternalIdUtil getSapOdmExternalIdUtil()
    • setSapOdmExternalIdUtil

      public void setSapOdmExternalIdUtil(SapOdmExternalIdUtil sapOdmExternalIdUtil)
    • getDefaultSapExternalIdDao

      public DefaultSapExternalIdDao getDefaultSapExternalIdDao()
    • setDefaultSapExternalIdDao

      public void setDefaultSapExternalIdDao(DefaultSapExternalIdDao defaultSapExternalIdDao)