Class CheckVersionsRemoveInterceptor
java.lang.Object
de.hybris.platform.catalog.interceptors.CheckVersionsRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
Checks if all
CatalogModel.CATALOGVERSIONS are removable when removing CatalogModel. When removing
CatalogVersionModel check if it is removable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetCatalogVersionDao(CatalogVersionDao catalogVersionDao) voidsetL10nService(L10NService l10nService) voidsetSessionService(SessionService sessionService)
-
Constructor Details
-
CheckVersionsRemoveInterceptor
public CheckVersionsRemoveInterceptor()
-
-
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
-
setCatalogVersionDao
-
setL10nService
-
setSessionService
-