Class VariantValueCategoryValidateInterceptor

java.lang.Object
de.hybris.platform.variants.interceptor.VariantValueCategoryValidateInterceptor
All Implemented Interfaces:
Interceptor, ValidateInterceptor<VariantValueCategoryModel>

public class VariantValueCategoryValidateInterceptor extends Object implements ValidateInterceptor<VariantValueCategoryModel>
This interceptor ensures the following rules are fulfilled for a given VariantValueCategory - there can be only one super category of type VariantCategory and this super category is not optional - it can't have any other Categories (normal ones) as super categories.