Class TuaPartyAccountRefPrepareInterceptor

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

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

    • TuaPartyAccountRefPrepareInterceptor

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

    • onPrepare

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

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