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 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:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getOdmConfigService

      public DefaultOdmConfigService getOdmConfigService()
    • setOdmConfigService

      public void setOdmConfigService(DefaultOdmConfigService odmConfigService)