Class SapOutboundIdPrepareInterceptor

java.lang.Object
com.hybris.ymkt.common.interceptor.SapOutboundIdPrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>

public class SapOutboundIdPrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>
Look into the user session for the soid and setYmktTrackingId on AbstractOrderModel
  • Field Details

    • SAP_OUTBOUND_ID

      protected static final String SAP_OUTBOUND_ID
      See Also:
    • sessionService

      protected de.hybris.platform.servicelayer.session.SessionService sessionService
  • Constructor Details

    • SapOutboundIdPrepareInterceptor

      public SapOutboundIdPrepareInterceptor()
  • Method Details

    • onPrepare

      public void onPrepare(AbstractOrderModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • setSessionService

      public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)