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