Class TmaAbstractOrderPriceIdPrepareInterceptor
java.lang.Object
de.hybris.platform.b2ctelcoservices.interceptors.TmaAbstractOrderPriceIdPrepareInterceptor
- All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor,de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>
public class TmaAbstractOrderPriceIdPrepareInterceptor
extends Object
implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>
Interceptor to generate unique id for the newly created
TmaAbstractOrderPriceModels.- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderPriceIdPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorvoidonPrepare(TmaAbstractOrderPriceModel price, de.hybris.platform.servicelayer.interceptor.InterceptorContext context)
-
Constructor Details
-
TmaAbstractOrderPriceIdPrepareInterceptor
public TmaAbstractOrderPriceIdPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator)
-
-
Method Details
-
onPrepare
public void onPrepare(TmaAbstractOrderPriceModel price, de.hybris.platform.servicelayer.interceptor.InterceptorContext context) - Specified by:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaAbstractOrderPriceModel>
-
getKeyGenerator
protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()
-