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