public interface ValidationAgent
Modifier and Type | Interface and Description |
---|---|
static class |
ValidationAgent.ValidationScope
Validation scope, either
ValidationAgent.ValidationScope.SAVE or ValidationAgent.ValidationScope.RELEASE . |
Modifier and Type | Field and Description |
---|---|
static SpecialistType<ValidationAgent> |
TYPE
Agent providing means to validate some store element against defined rules.
|
Modifier and Type | Method and Description |
---|---|
MultiFormValidationReport |
validate(FormData formData,
Iterable<Language> languages,
ValidationAgent.ValidationScope scope)
Validate the given data for the provided languages in given validation scope.
|
MultiFormValidationReport |
validate(IDProvider element,
ValidationAgent.ValidationScope scope)
Validate the data of the given element in given validation.
|
static final SpecialistType<ValidationAgent> TYPE
MultiFormValidationReport validate(IDProvider element, ValidationAgent.ValidationScope scope)
sections
of a
page
.element
- Element whose data will be checked.scope
- Scope for validation.MultiFormValidationReport validate(FormData formData, Iterable<Language> languages, ValidationAgent.ValidationScope scope)
formData
- The form data to validate.languages
- The languages to be validated for.scope
- Scope for validation.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500