Package com.xpn.xwiki.validation
Class XWikiValidationStatus
- java.lang.Object
-
- com.xpn.xwiki.validation.XWikiValidationStatus
-
public class XWikiValidationStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description XWikiValidationStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
addErrorToContext
public static void addErrorToContext(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)
-
addExceptionToContext
public static void addExceptionToContext(String className, String propName, Throwable e, XWikiContext context)
-
addError
public void addError(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)
-
addException
public void addException(String className, String propName, Throwable e, XWikiContext context)
-
hasExceptions
public boolean hasExceptions()
-
getExceptions
public List getExceptions()
-
getErrorObjects
public List getErrorObjects()
-
setErrorObjects
public void setErrorObjects(List errorObjects)
-
getPropertyErrors
public List getPropertyErrors()
-
setPropertyErrors
public void setPropertyErrors(List propertyErrors)
-
getErrors
public List getErrors()
-
setErrors
public void setErrors(List errors)
-
setExceptions
public void setExceptions(List exceptions)
-
-