Class NavigationNodePrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.interceptor.impl.NavigationNodePrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
@Deprecated public class NavigationNodePrepareInterceptor extends java.lang.Object implements PrepareInterceptor
Deprecated.since 1811 - no longer neededEnsures that bothcatalogVersionandparent.catalogVersionare consistent viacatalogVersionchange orparentchange accordingly to modified property. For hierarchies child nodescatalogVersionis also modified.
-
-
Constructor Summary
Constructors Constructor Description NavigationNodePrepareInterceptor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.List<CMSNavigationNodeModel>findAllChildren(CMSNavigationNodeModel node, java.util.List<CMSNavigationNodeModel> res)Deprecated.voidonPrepare(java.lang.Object model, InterceptorContext ctx)Deprecated.Called in themodelService.saveAll()method.voidsetCmsNavigationService(CMSNavigationService cmsNavigationService)Deprecated.voidsetModelService(ModelService modelService)Deprecated.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDeprecated.Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
findAllChildren
protected java.util.List<CMSNavigationNodeModel> findAllChildren(CMSNavigationNodeModel node, java.util.List<CMSNavigationNodeModel> res)
Deprecated.
-
setModelService
public void setModelService(ModelService modelService)
Deprecated.
-
setCmsNavigationService
public void setCmsNavigationService(CMSNavigationService cmsNavigationService)
Deprecated.
-
-