Class TuaAgreementSpecCharacteristicValuePrepareInterceptor

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

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

    • TuaAgreementSpecCharacteristicValuePrepareInterceptor

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

    • onPrepare

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

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