public class SapOutboundIdPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<AbstractOrderModel>
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SAP_OUTBOUND_ID |
protected SessionService |
sessionService |
| Constructor and Description |
|---|
SapOutboundIdPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(AbstractOrderModel model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setSessionService(SessionService sessionService) |
protected static final java.lang.String SAP_OUTBOUND_ID
protected SessionService sessionService
public void onPrepare(AbstractOrderModel model, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<AbstractOrderModel>model - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void setSessionService(SessionService sessionService)
Copyright © 2018 SAP SE. All Rights Reserved.