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 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.StringSAP_OUTBOUND_IDprotected de.hybris.platform.servicelayer.session.SessionServicesessionService
-
Constructor Summary
Constructors Constructor Description SapOutboundIdPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(AbstractOrderModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
-
-
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
-
-
Method Detail
-
onPrepare
public void onPrepare(AbstractOrderModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
- Specified by:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<AbstractOrderModel>- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
-