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 java.lang.Object implements ValidateInterceptor<PriceRowModel>
-
-
Constructor Summary
Constructors Constructor Description PriceRowValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(PriceRowModel priceRow, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(PriceRowModel priceRow, InterceptorContext ctx) throws InterceptorException
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.
-
-