Class BundleTemplateRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.interceptor.impl.BundleTemplateRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class BundleTemplateRemoveInterceptor extends java.lang.Object implements RemoveInterceptor
If a parentBundleTemplateModelis deleted all childBundleTemplateModels are also removed
-
-
Constructor Summary
Constructors Constructor Description BundleTemplateRemoveInterceptor()
-
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.protected voidremoveChildTemplates(InterceptorContext ctx, BundleTemplateModel bundleTemplate)
-
-
-
Method Detail
-
onRemove
public void onRemove(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription 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
protected void removeChildTemplates(InterceptorContext ctx, BundleTemplateModel bundleTemplate)
-
-