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