Class TuaProductPricePrepareInterceptor

java.lang.Object
de.hybris.platform.tuadatamodel.interceptors.TuaProductPricePrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaProductPriceModel>

public class TuaProductPricePrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaProductPriceModel>
Interceptor to generate unique id for TuaProductPriceModel that are newly created.
Since:
2208
  • Constructor Details

    • TuaProductPricePrepareInterceptor

      public TuaProductPricePrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator)
  • Method Details

    • onPrepare

      public void onPrepare(TuaProductPriceModel productPriceModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaProductPriceModel>
    • getKeyGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()