Class SapOutboundIdPrepareInterceptor

  • All Implemented Interfaces:
    de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>

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

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String SAP_OUTBOUND_ID  
      protected de.hybris.platform.servicelayer.session.SessionService sessionService  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onPrepare​(AbstractOrderModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)  
      void setSessionService​(de.hybris.platform.servicelayer.session.SessionService sessionService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SAP_OUTBOUND_ID

        protected static final java.lang.String SAP_OUTBOUND_ID
        See Also:
        Constant Field Values
      • sessionService

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

      • SapOutboundIdPrepareInterceptor

        public SapOutboundIdPrepareInterceptor()
    • Method Detail

      • 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)