Interface RuleValidationAttributeExporterService
public interface RuleValidationAttributeExporterService
Service responsible for exposing custom RuleValidationAttribute functionality.
This service is exposed by the node hosting the specified custom attribute.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(String attributeName, RuleValidationContext validationContext) Validates the rule within the given RuleValidationContext.
-
Method Details
-
validate
ValidationResults validate(String attributeName, RuleValidationContext validationContext) throws RiceIllegalArgumentException Validates the rule within the given RuleValidationContext.- Returns:
- a ValidationResults object representing the results of the validation, if this is
empty or
nullthis signifies that validation was successful. - Throws:
RiceIllegalArgumentException
-