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