Class ClearZDMVCurrencyRemoveInterceptor
java.lang.Object
de.hybris.platform.order.interceptors.ClearZDMVCurrencyRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
Checks if there are any ZDMVM using the current Currency which is to be deleted and removes the ZDMVM before the
currency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetZoneDeliveryModeValueDao(ZoneDeliveryModeValueDao zoneDeliveryModeValueDao)
-
Constructor Details
-
ClearZDMVCurrencyRemoveInterceptor
public ClearZDMVCurrencyRemoveInterceptor()
-
-
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
-
setZoneDeliveryModeValueDao
-