Class TmaProductOfferingPriceIdPrepareInterceptor

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

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

    • TmaProductOfferingPriceIdPrepareInterceptor

      public TmaProductOfferingPriceIdPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator tmaProductOfferingPriceIdGenerator)
  • Method Details

    • onPrepare

      public void onPrepare(TmaProductOfferingPriceModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingPriceModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getTmaProductOfferingPriceIdGenerator

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