Class TuaAgreementSpecCharacteristicPrepareInterceptor

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

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

    • TuaAgreementSpecCharacteristicPrepareInterceptor

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

    • onPrepare

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

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