Class GenericVariantProductValidateInterceptor

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

public class GenericVariantProductValidateInterceptor extends Object implements ValidateInterceptor<GenericVariantProductModel>
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.