Class TuaIdentificationPrepareInterceptor

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

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

    • TuaIdentificationPrepareInterceptor

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

    • onPrepare

      public void onPrepare(TuaIdentificationModel identificationModel, 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<TuaIdentificationModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getKeyGenerator

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