Interface ContentValidator

    • Method Detail

      • validate

        void validate​(Content content,
                      Errors errors)
        Validates a content.
        Parameters:
        content - the content to validate
        errors - the structure to populate if the validation failed.
      • validate

        void validate​(Content content,
                      Map<String,​Object> values,
                      View view,
                      Errors errors)
        Validates a content being edited
        Parameters:
        content - the content to validate
        values - the values being set
        view - the view
        errors - the structure to populate if the validation failed.