Class SubscriptionPricePlanLoadInterceptor
- java.lang.Object
-
- de.hybris.platform.subscriptionservices.interceptor.impl.SubscriptionPricePlanLoadInterceptor
-
- All Implemented Interfaces:
Interceptor,LoadInterceptor
public class SubscriptionPricePlanLoadInterceptor extends java.lang.Object implements LoadInterceptor
LoadInterceptorimplementation for instances ofSubscriptionPricePlanModel. Ensures that:
- recurring charge entries are sorted by their periods
-
-
Constructor Summary
Constructors Constructor Description SubscriptionPricePlanLoadInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonLoad(java.lang.Object model, InterceptorContext ctx)If a model is loaded from the database this method is called by the model service.
-
-
-
Method Detail
-
onLoad
public void onLoad(@Nonnull java.lang.Object model, @Nonnull InterceptorContext ctx) throws InterceptorExceptionDescription 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
-
-