public class RemoveCurrencyCheckOrdersInterceptor extends java.lang.Object implements RemoveInterceptor
CurrencyModel is used in existing orders, the interceptor prevents remove action.| Constructor and Description |
|---|
RemoveCurrencyCheckOrdersInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
setOrderDao(OrderDao orderDao) |
public RemoveCurrencyCheckOrdersInterceptor()
public void onRemove(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptormodel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorpublic void setOrderDao(OrderDao orderDao)
Copyright © 2018 SAP SE. All Rights Reserved.