Class UsageChargeIdPrepareInterceptor
java.lang.Object
de.hybris.platform.subscriptionservices.interceptor.impl.UsageChargeIdPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetUsageChargeIDGenerator(KeyGenerator usageChargeIDGenerator)
-
Constructor Details
-
UsageChargeIdPrepareInterceptor
public UsageChargeIdPrepareInterceptor()
-
-
Method Details
-
onPrepare
public void onPrepare(@Nonnull Object model, @Nonnull InterceptorContext ctx) throws InterceptorException Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setUsageChargeIDGenerator
-