public class SourceRuleValidateInterceptor extends 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 |
|---|---|
RuleActionsRegistry |
getRuleActionsRegistry() |
RuleActionsService |
getRuleActionsService() |
RuleConditionsRegistry |
getRuleConditionsRegistry() |
RuleConditionsService |
getRuleConditionsService() |
void |
onValidate(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(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)
public RuleConditionsRegistry getRuleConditionsRegistry()
public void setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry)
public RuleActionsRegistry getRuleActionsRegistry()
public void setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry)
Copyright © 2017 SAP SE. All Rights Reserved.