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