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 Summary
ConstructorsConstructorDescriptionTuaAgreementSpecCharacteristicValuePrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorvoidonPrepare(TuaAgreementSpecCharacteristicValueModel agreementSpecCharacteristicValueModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)
-
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:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaAgreementSpecCharacteristicValueModel>
-
getKeyGenerator
protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()
-