Class BundleTemplateRemoveInterceptor
java.lang.Object
de.hybris.platform.configurablebundleservices.interceptor.impl.BundleTemplateRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
If a parent
BundleTemplateModel is deleted all child BundleTemplateModels are also removed-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.protected voidremoveChildTemplates(InterceptorContext ctx, BundleTemplateModel bundleTemplate)
-
Constructor Details
-
BundleTemplateRemoveInterceptor
public BundleTemplateRemoveInterceptor()
-
-
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
-
removeChildTemplates
-