Package de.hybris.platform.catalog.impl
Class ProductFeatureValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.catalog.impl.ProductFeatureValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ProductFeatureModel>
public class ProductFeatureValidateInterceptor extends java.lang.Object implements ValidateInterceptor<ProductFeatureModel>
ProductFeature Validator
-
-
Constructor Summary
Constructors Constructor Description ProductFeatureValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(ProductFeatureModel feature, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
onValidate
public void onValidate(ProductFeatureModel feature, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ProductFeatureModel>- Parameters:
feature- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setTypeService
public void setTypeService(TypeService typeService)
-
-