public class RuleVersioningPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<AbstractRuleModel>
| Constructor and Description |
|---|
RuleVersioningPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected RuleModelHistoricalContentCreator |
getHistoricalContentCreator() |
void |
onPrepare(AbstractRuleModel model,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
void |
setHistoricalContentCreator(RuleModelHistoricalContentCreator historicalContentCreator) |
public void onPrepare(AbstractRuleModel model, InterceptorContext context) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<AbstractRuleModel>model - the model which values has to be preparedcontext - the InterceptorContextInterceptorException - if an error occured during the preparationprotected RuleModelHistoricalContentCreator getHistoricalContentCreator()
public void setHistoricalContentCreator(RuleModelHistoricalContentCreator historicalContentCreator)
Copyright © 2018 SAP SE. All Rights Reserved.