Package de.hybris.platform.product.impl
Class PriceRowValidateInterceptor
java.lang.Object
de.hybris.platform.product.impl.PriceRowValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<PriceRowModel>
public class PriceRowValidateInterceptor
extends Object
implements ValidateInterceptor<PriceRowModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(PriceRowModel priceRow, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
PriceRowValidateInterceptor
public PriceRowValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<PriceRowModel>- Parameters:
priceRow- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-