Package org.ametys.cms.workflow
Class AllErrors
java.lang.Object
org.ametys.cms.workflow.AllErrors
Object for storing binding and validation errors.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AllErrors
public AllErrors()
-
-
Method Details
-
hasErrors
Test if there is at least one error.- Returns:
true
if there is at least one error,false
otherwise.
-
getAllErrors
Retrieves the errors.- Returns:
- the errors.
-
addError
Add an error.- Parameters:
metadataPath
- the metadata path ornull
if global to the content.errors
- the errors.
-
toString
-