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