Class NavigationNodeRemoveInterceptor
java.lang.Object
de.hybris.platform.cms2.servicelayer.interceptor.impl.NavigationNodeRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
Ensures that the navigationNode field of every related entry is cleaned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServicevoidonRemove(Object model, InterceptorContext interceptorContext) Called in themodelService.removeAll()method.voidsetModelService(ModelService modelService)
-
Constructor Details
-
NavigationNodeRemoveInterceptor
public NavigationNodeRemoveInterceptor()
-
-
Method Details
-
onRemove
public void onRemove(Object model, InterceptorContext interceptorContext) throws InterceptorException Description 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
-
setModelService
-