Class CatalogPrepareInterceptor

java.lang.Object
de.hybris.platform.catalog.interceptors.CatalogPrepareInterceptor
All Implemented Interfaces:
Interceptor, PrepareInterceptor

public class CatalogPrepareInterceptor extends Object implements PrepareInterceptor
The interceptor sets proper CatalogVersionModel.ACTIVE flags on catalog versions whenever CatalogModel.ACTIVECATALOGVERSION is modified.

Prepare method throws InterceptorException in case when CatalogModel.ACTIVECATALOGVERSION was set with CatalogVersionModel not belonging to the CatalogModel being modified.