Class TmaProductOfferingCodePrepareInterceptor

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

public class TmaProductOfferingCodePrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingModel>
Interceptor that generates unique code for the newly created TmaProductOfferingModels.
Since:
2202
  • Constructor Details

    • TmaProductOfferingCodePrepareInterceptor

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

    • onPrepare

      public void onPrepare(TmaProductOfferingModel tmaProductOfferingModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getKeyGenerator

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