Class TmaAbstractOrderPriceIdPrepareInterceptor

java.lang.Object
de.hybris.platform.b2ctelcoservices.interceptors.TmaAbstractOrderPriceIdPrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>

public class TmaAbstractOrderPriceIdPrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>
Interceptor to generate unique id for the newly created TmaAbstractOrderPriceModels.
Since:
2007
  • Constructor Details

    • TmaAbstractOrderPriceIdPrepareInterceptor

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

    • onPrepare

      public void onPrepare(TmaAbstractOrderPriceModel price, de.hybris.platform.servicelayer.interceptor.InterceptorContext context)
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>
    • getKeyGenerator

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