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