Class TuaBusinessInteractionPrepareInterceptor

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

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

    • TuaBusinessInteractionPrepareInterceptor

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

    • onPrepare

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

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