Class RulePrepareInterceptor
java.lang.Object
de.hybris.platform.ruleengineservices.rule.interceptors.RulePrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<AbstractRuleModel>
Prepare interceptor for AbstractRuleModel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateUuid(AbstractRuleModel model, InterceptorContext context) voidonPrepare(AbstractRuleModel model, InterceptorContext context) Called in themodelService.saveAll()method.
-
Constructor Details
-
RulePrepareInterceptor
public RulePrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<AbstractRuleModel>- Parameters:
model- the model which values has to be preparedcontext- theInterceptorContext
-
generateUuid
-