Class TuaExternalIdentifierPrepareInterceptor

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

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

    • TuaExternalIdentifierPrepareInterceptor

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

    • onPrepare

      public void onPrepare(TuaExternalIdentifierModel externalIdentifierModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaExternalIdentifierModel>
    • getKeyGenerator

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