Class NavigationNodeRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.interceptor.impl.NavigationNodeRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class NavigationNodeRemoveInterceptor extends java.lang.Object implements RemoveInterceptor
Ensures that the navigationNode field of every related entry is cleaned.
-
-
Constructor Summary
Constructors Constructor Description NavigationNodeRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModelServicegetModelService()voidonRemove(java.lang.Object model, InterceptorContext interceptorContext)Called in themodelService.removeAll()method.voidsetModelService(ModelService modelService)
-
-
-
Method Detail
-
onRemove
public void onRemove(java.lang.Object model, InterceptorContext interceptorContext) throws InterceptorExceptionDescription copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor- Parameters:
model- the model which should be removedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
-