public class GuideValidationResult
extends java.lang.Object
Constructor and Description |
---|
GuideValidationResult() |
GuideValidationResult(java.util.List<GuideError> guideErrorList)
Deprecated.
from 6.3 use GuideValidationResult(List
|
GuideValidationResult(java.util.List<GuideError> guideErrorList,
GuideSubmitErrorCause errorCausedBy) |
Modifier and Type | Method and Description |
---|---|
GuideSubmitErrorCause |
getErrorCause() |
java.util.List<GuideError> |
getGuideErrorList()
Returns the list of error messages in the server side validation
|
JSONObject |
getValidationPayload() |
boolean |
hasErrors()
Identify if there are any server side validation errors
|
void |
setGuideErrorList(java.util.List<GuideError> guideErrorList)
Deprecated.
from 6.3 use setGuideErrorList(List
|
void |
setGuideErrorList(java.util.List<GuideError> guideErrorList,
GuideSubmitErrorCause errorCausedBy)
This sets List of error and the cause of error
|
public GuideValidationResult()
public GuideValidationResult(java.util.List<GuideError> guideErrorList)
guideErrorList
- public GuideValidationResult(java.util.List<GuideError> guideErrorList, GuideSubmitErrorCause errorCausedBy)
guideErrorList
- public java.util.List<GuideError> getGuideErrorList()
public void setGuideErrorList(java.util.List<GuideError> guideErrorList)
public void setGuideErrorList(java.util.List<GuideError> guideErrorList, GuideSubmitErrorCause errorCausedBy)
guideErrorList
- errorCausedBy
- public GuideSubmitErrorCause getErrorCause()
public boolean hasErrors()
public JSONObject getValidationPayload()
Copyright © 2010 - 2020 Adobe. All Rights Reserved