Package de.espirit.firstspirit.agency
Interface MultiFormValidationReport
- All Superinterfaces:
Serializable
A validation report container for multiple language-focused forms.
- Since:
- 5.0.4
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<Language>
Deprecated.@NotNull Collection<Language>
getLanguages
(SpecialistsBroker broker) Provides the languages being reported containing problems, not including meta data problems.@Nullable FormValidationReport
getProblems
(Language language) Gives a report for the specified language.@Nullable FormValidationReport
Gives a report for the meta data.boolean
isValid()
Indicates the validated element to be valid and no reports being generated.
-
Method Details
-
isValid
boolean isValid()Indicates the validated element to be valid and no reports being generated.- Returns:
true
, if valid.- Since:
- 5.0.4
-
getLanguages
Deprecated.since 5.0.311, usegetLanguages(SpecialistsBroker)
instead.Provides the languages being reported containing problems, not including meta data problems.Note: Will be empty, when being serialized.
- Returns:
- The languages containing problematic entries.
- Since:
- 5.0.4
-
getLanguages
Provides the languages being reported containing problems, not including meta data problems.- Parameters:
broker
- A broker to resolve available languages.- Returns:
- The languages containing problematic entries.
- Since:
- 5.0.311
-
getProblems
Gives a report for the specified language.- Parameters:
language
- The language to look up.- Returns:
- The specific report or
null
, if no report exists for the language. - Since:
- 5.0.4
-
getProblemsForMetaData
Gives a report for the meta data.- Returns:
- The specific report or
null
, if no report exists for the meta data. - Since:
- 5.0.4
-
getLanguages(SpecialistsBroker)
instead.