Class SubscriptionPricePlanLoadInterceptor
java.lang.Object
de.hybris.platform.subscriptionservices.interceptor.impl.SubscriptionPricePlanLoadInterceptor
- All Implemented Interfaces:
Interceptor,LoadInterceptor
LoadInterceptor implementation for instances of SubscriptionPricePlanModel. Ensures that:- recurring charge entries are sorted by their periods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoad(Object model, InterceptorContext ctx) If a model is loaded from the database this method is called by the model service.
-
Constructor Details
-
SubscriptionPricePlanLoadInterceptor
public SubscriptionPricePlanLoadInterceptor()
-
-
Method Details
-
onLoad
public void onLoad(@Nonnull Object model, @Nonnull InterceptorContext ctx) throws InterceptorException Description copied from interface:LoadInterceptorIf a model is loaded from the database this method is called by the model service.- Specified by:
onLoadin interfaceLoadInterceptor- Parameters:
model- the model to be loadedctx- theInterceptorContext- Throws:
InterceptorException- if the model could not be loaded
-