Class VariantTypeRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.product.interceptors.VariantTypeRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class VariantTypeRemoveInterceptor extends java.lang.Object implements RemoveInterceptor
Interceptor, which takes care of correct removing of given variant type.
-
-
Constructor Summary
Constructors Constructor Description VariantTypeRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRemove(java.lang.Object model, InterceptorContext ctx)Called in themodelService.removeAll()method.voidsetSearchRestrictionService(SearchRestrictionService searchRestrictionService)voidsetSessionService(SessionService sessionService)voidsetVariantTypeDao(VariantTypeDao variantTypeDao)
-
-
-
Method Detail
-
setSearchRestrictionService
public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
-
setSessionService
public void setSessionService(SessionService sessionService)
-
setVariantTypeDao
public void setVariantTypeDao(VariantTypeDao variantTypeDao)
-
onRemove
public void onRemove(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionCalled 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
-
-