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