Class DefaultCatalogRemoveInterceptor
java.lang.Object
de.hybris.platform.catalog.interceptors.DefaultCatalogRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
When removing
CatalogModel not allow to remove one with is marked as default (
CatalogModel.DEFAULTCATALOG).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetL10nService(L10NService l10nService)
-
Constructor Details
-
DefaultCatalogRemoveInterceptor
public DefaultCatalogRemoveInterceptor()
-
-
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
-
setL10nService
-