Class RemoveCurrencyCheckOrdersInterceptor
java.lang.Object
de.hybris.platform.order.interceptors.RemoveCurrencyCheckOrdersInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
If the
CurrencyModel is used in existing orders, the interceptor prevents remove action.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetOrderDao(OrderDao orderDao)
-
Constructor Details
-
RemoveCurrencyCheckOrdersInterceptor
public RemoveCurrencyCheckOrdersInterceptor()
-
-
Method Details
-
onRemove
Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
setOrderDao
-