public class SourceRuleTemplateValidateInterceptor extends java.lang.Object implements ValidateInterceptor
SourceRuleTemplateModel which checks if the representations of conditions and actions
are valid.| Constructor and Description |
|---|
SourceRuleTemplateValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
RuleActionsRegistry |
getRuleActionsRegistry() |
RuleActionsService |
getRuleActionsService() |
RuleConditionsRegistry |
getRuleConditionsRegistry() |
RuleConditionsService |
getRuleConditionsService() |
RuleService |
getRuleService() |
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) |
void |
setRuleService(RuleService ruleService) |
public SourceRuleTemplateValidateInterceptor()
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)
public RuleConditionsRegistry getRuleConditionsRegistry()
public void setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry)
public RuleActionsRegistry getRuleActionsRegistry()
public void setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry)
public RuleService getRuleService()
public void setRuleService(RuleService ruleService)
Copyright © 2018 SAP SE. All Rights Reserved.