Class DefaultOdmAbstractOrderPrepareInterceptor
java.lang.Object
com.sap.sapodmservices.interceptor.DefaultOdmAbstractOrderPrepareInterceptor
- All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor,de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>
public class DefaultOdmAbstractOrderPrepareInterceptor
extends Object
implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>
DefaultOdmAbstractOrderPrepareInterceptor is used for persisting oid and systemOfOrigin while creation of abstract order which will be ingested to CDP system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(AbstractOrderModel abstractOrderModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) onPrepare method is used to persist oid and system of origin in abstract ordervoidsetOdmConfigService(DefaultOdmConfigService odmConfigService)
-
Constructor Details
-
DefaultOdmAbstractOrderPrepareInterceptor
public DefaultOdmAbstractOrderPrepareInterceptor()
-
-
Method Details
-
onPrepare
public void onPrepare(AbstractOrderModel abstractOrderModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException onPrepare method is used to persist oid and system of origin in abstract order
- Specified by:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
getOdmConfigService
-
setOdmConfigService
-