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 Object
implements ValidateInterceptor<ProductFeatureModel>
ProductFeature Validator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ProductFeatureModel feature, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
Constructor Details
-
ProductFeatureValidateInterceptor
public ProductFeatureValidateInterceptor()
-
-
Method Details
-
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
-