Class CheckVersionsRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.catalog.interceptors.CheckVersionsRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class CheckVersionsRemoveInterceptor extends java.lang.Object implements RemoveInterceptor
Checks if allCatalogModel.CATALOGVERSIONSare removable when removingCatalogModel. When removingCatalogVersionModelcheck if it is removable.
-
-
Constructor Summary
Constructors Constructor Description CheckVersionsRemoveInterceptor()
-
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.voidsetCatalogVersionDao(CatalogVersionDao catalogVersionDao)voidsetL10nService(L10NService l10nService)voidsetSessionService(SessionService sessionService)
-
-
-
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
-
setCatalogVersionDao
public void setCatalogVersionDao(CatalogVersionDao catalogVersionDao)
-
setL10nService
public void setL10nService(L10NService l10nService)
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-