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