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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(CustomerModel customerModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) This method is used to add various id's like BuPa UID, CDC Id etc within External Id.voidsetDefaultSapExternalIdDao(DefaultSapExternalIdDao defaultSapExternalIdDao) voidsetOdmConfigService(DefaultOdmConfigService odmConfigService) voidsetSapOdmExternalIdUtil(SapOdmExternalIdUtil sapOdmExternalIdUtil)
-
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:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<CustomerModel>- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
getOdmConfigService
-
setOdmConfigService
-
getSapOdmExternalIdUtil
-
setSapOdmExternalIdUtil
-
getDefaultSapExternalIdDao
-
setDefaultSapExternalIdDao
-