public class SourceRuleValidateInterceptor extends java.lang.Object implements ValidateInterceptor
SourceRuleModel which checks if the representations of conditions and actions are valid.| Constructor and Description |
|---|
SourceRuleValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected RuleActionsRegistry |
getRuleActionsRegistry() |
RuleActionsService |
getRuleActionsService() |
protected RuleConditionsRegistry |
getRuleConditionsRegistry() |
RuleConditionsService |
getRuleConditionsService() |
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry) |
void |
setRuleActionsService(RuleActionsService ruleActionsService) |
void |
setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry) |
void |
setRuleConditionsService(RuleConditionsService ruleConditionsService) |
public void onValidate(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public RuleConditionsService getRuleConditionsService()
public void setRuleConditionsService(RuleConditionsService ruleConditionsService)
public RuleActionsService getRuleActionsService()
public void setRuleActionsService(RuleActionsService ruleActionsService)
protected RuleConditionsRegistry getRuleConditionsRegistry()
public void setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry)
protected RuleActionsRegistry getRuleActionsRegistry()
public void setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry)
Copyright © 2018 SAP SE. All Rights Reserved.