Class TuaProductPrepareInterceptor

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

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

    • TuaProductPrepareInterceptor

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

    • onPrepare

      public void onPrepare(TuaProductModel tuaProductModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext)
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaProductModel>
    • getKeyGenerator

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