Class PriceRowPrepareInterceptor

java.lang.Object
de.hybris.platform.product.impl.PDTRowPrepareInterceptor
de.hybris.platform.product.impl.PriceRowPrepareInterceptor
All Implemented Interfaces:
Interceptor, PrepareInterceptor

public class PriceRowPrepareInterceptor extends PDTRowPrepareInterceptor
PrepareInterceptor for the PriceRowModel. Sets the fallback UnitModel if no unit is provided for the pricerow. The fallback is the unit from ProductModel.UNIT. If the PriceRowModel AND ProductModel.UNIT contains no unit a InterceptorException is thrown.

Besides - takes care of updating the matchValue depending on Product/Pg and User/Ug values. The PDtRow common logic is executed as well - see (PDTRowPrepareInterceptor