Class CategoryRemovalValidator

java.lang.Object
de.hybris.platform.category.interceptors.CategoryRemovalValidator
All Implemented Interfaces:
Interceptor, RemoveInterceptor

public class CategoryRemovalValidator extends Object implements RemoveInterceptor
Validator for removal of CategoryModel. It checks if the specific category can be removed, and denies removal request if it holds sub-categories. It can be disabled by setting the CategoryConstants.DISABLE_SUBCATEGORY_REMOVALCHECK in the session to true.
Spring Bean ID:
categoryRemovalValidator