Class TmaProductOfferingPriceIdPrepareInterceptor
java.lang.Object
de.hybris.platform.b2ctelcoservices.interceptors.TmaProductOfferingPriceIdPrepareInterceptor
- All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor,de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingPriceModel>
public class TmaProductOfferingPriceIdPrepareInterceptor
extends Object
implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingPriceModel>
Interceptor to generate unique id for the newly created
TmaProductOfferingPriceModels.- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaProductOfferingPriceIdPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator tmaProductOfferingPriceIdGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorvoidonPrepare(TmaProductOfferingPriceModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx)
-
Constructor Details
-
TmaProductOfferingPriceIdPrepareInterceptor
public TmaProductOfferingPriceIdPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator tmaProductOfferingPriceIdGenerator)
-
-
Method Details
-
onPrepare
public void onPrepare(TmaProductOfferingPriceModel model, de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx) throws de.hybris.platform.servicelayer.interceptor.InterceptorException - Specified by:
onPreparein interfacede.hybris.platform.servicelayer.interceptor.PrepareInterceptor<TmaProductOfferingPriceModel>- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
getTmaProductOfferingPriceIdGenerator
protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getTmaProductOfferingPriceIdGenerator()
-