Class TuaMediumCharacteristicPrepareInterceptor
java.lang.Object
de.hybris.platform.tuadatamodel.interceptors.TuaMediumCharacteristicPrepareInterceptor
- All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor,de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaMediumCharacteristicModel>
public class TuaMediumCharacteristicPrepareInterceptor
extends Object
implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaMediumCharacteristicModel>
Interceptor to generate unique id for
TuaMediumCharacteristicModel that are newly created.- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionTuaMediumCharacteristicPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorvoidonPrepare(TuaMediumCharacteristicModel mediumCharacteristicModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)
-
Constructor Details
-
TuaMediumCharacteristicPrepareInterceptor
public TuaMediumCharacteristicPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator)
-
-
Method Details
-
onPrepare
public void onPrepare(TuaMediumCharacteristicModel mediumCharacteristicModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) - Specified by:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TuaMediumCharacteristicModel>
-
getKeyGenerator
protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()
-