public class XWikiValidationStatus extends Object
Constructor and Description |
---|
XWikiValidationStatus() |
Modifier and Type | Method and Description |
---|---|
void |
addError(String className,
String propName,
String propPrettyName,
String validationMessage,
XWikiContext context) |
static void |
addErrorToContext(String className,
String propName,
String propPrettyName,
String validationMessage,
XWikiContext context) |
void |
addException(String className,
String propName,
Throwable e,
XWikiContext context) |
static void |
addExceptionToContext(String className,
String propName,
Throwable e,
XWikiContext context) |
List |
getErrorObjects() |
List |
getErrors() |
List |
getExceptions() |
List |
getPropertyErrors() |
boolean |
hasExceptions() |
void |
setErrorObjects(List errorObjects) |
void |
setErrors(List errors) |
void |
setExceptions(List exceptions) |
void |
setPropertyErrors(List propertyErrors) |
public static void addErrorToContext(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)
public static void addExceptionToContext(String className, String propName, Throwable e, XWikiContext context)
public void addError(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)
public void addException(String className, String propName, Throwable e, XWikiContext context)
public boolean hasExceptions()
public List getExceptions()
public List getErrorObjects()
public void setErrorObjects(List errorObjects)
public List getPropertyErrors()
public void setPropertyErrors(List propertyErrors)
public List getErrors()
public void setErrors(List errors)
public void setExceptions(List exceptions)
Copyright © 2004–2022 XWiki. All rights reserved.