Class RemoveDeliveryModeCheckOrdersInterceptor
java.lang.Object
de.hybris.platform.order.interceptors.RemoveDeliveryModeCheckOrdersInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
If there are still orders using
DeliveryModeModel to be removed, the interceptor stops removal action with
InterceptorException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetOrderDao(OrderDao orderDao)
-
Constructor Details
-
RemoveDeliveryModeCheckOrdersInterceptor
public RemoveDeliveryModeCheckOrdersInterceptor()
-
-
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
-