Package de.hybris.platform.payment.impl
Class PreparePaymentTransactionInterceptor
java.lang.Object
de.hybris.platform.payment.impl.PreparePaymentTransactionInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Adds a 'generated' code, if there is not a defined one
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetKeyGenerator(KeyGenerator keyGenerator)
-
Constructor Details
-
PreparePaymentTransactionInterceptor
public PreparePaymentTransactionInterceptor()
-
-
Method Details
-
onPrepare
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
-
setKeyGenerator
-