public class RulePrepareInterceptor extends Object implements PrepareInterceptor<AbstractRuleModel>
| Constructor and Description |
|---|
RulePrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateUuid(AbstractRuleModel model,
InterceptorContext context) |
void |
onPrepare(AbstractRuleModel model,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
protected void |
updateStatus(AbstractRuleModel model,
InterceptorContext context) |
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 void generateUuid(AbstractRuleModel model, InterceptorContext context) throws InterceptorException
InterceptorExceptionprotected void updateStatus(AbstractRuleModel model, InterceptorContext context) throws InterceptorException
InterceptorExceptionCopyright © 2017 SAP SE. All Rights Reserved.