Interface LoadInterceptor<MODEL>
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
ConstraintGroupLoadInterceptor,SolrIndexedPropertyLoadInterceptor,StreamConfigurationInfoExpressionCreationInterceptor,SubscriptionPricePlanLoadInterceptor,UsageChargeLoadInterceptor,VoidInterceptor
The LoadInterceptor is called whenever a model is loaded from the database.
Use this LoadInterceptor for changing model values after load from the database.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonLoad(MODEL model, InterceptorContext ctx) If a model is loaded from the database this method is called by the model service.
-
Method Details
-
onLoad
If a model is loaded from the database this method is called by the model service.- Parameters:
model- the model to be loadedctx- theInterceptorContext- Throws:
InterceptorException- if the model could not be loaded
-