Class AllErrors

java.lang.Object
org.ametys.cms.workflow.AllErrors

public class AllErrors extends Object
Object for storing binding and validation errors.
  • Constructor Details

  • Method Details

    • hasErrors

      public boolean 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

      public void addError(String metadataPath, Errors errors)
      Add an error.
      Parameters:
      metadataPath - the metadata path or null if global to the content.
      errors - the errors.
    • toString

      public String toString()
      Overrides:
      toString in class Object