Class HistoryEntryInterceptor
- java.lang.Object
-
- de.hybris.platform.orderhistory.impl.HistoryEntryInterceptor
-
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor,PrepareInterceptor
public class HistoryEntryInterceptor extends java.lang.Object implements InitDefaultsInterceptor, PrepareInterceptor
-
-
Constructor Summary
Constructors Constructor Description HistoryEntryInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonInitDefaults(java.lang.Object model, InterceptorContext ctx)Called byModelService.initDefaults(Object)after instantiate a new model.voidonPrepare(java.lang.Object model, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onInitDefaults
public void onInitDefaults(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription 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
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription 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
-
-