Class HistoryEntryInterceptor
java.lang.Object
de.hybris.platform.orderhistory.impl.HistoryEntryInterceptor
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor,PrepareInterceptor
public class HistoryEntryInterceptor
extends Object
implements InitDefaultsInterceptor, PrepareInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitDefaults(Object model, InterceptorContext ctx) Called byModelService.initDefaults(Object)after instantiate a new model.voidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
HistoryEntryInterceptor
public HistoryEntryInterceptor()
-
-
Method Details
-
onInitDefaults
Description copied from interface:InitDefaultsInterceptorCalled byModelService.initDefaults(Object)after instantiate a new model.- Specified by:
onInitDefaultsin interfaceInitDefaultsInterceptor- Parameters:
model- the model which values should be set to the default valuesctx- theInterceptorContext- Throws:
InterceptorException- if the loading of the default value reports an error.
-
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
-