|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.ui.validation.UIValidationResult
public class UIValidationResult
A UIValidationResult object contains one unit of validation output (one action/component, one object). It should
always contain at least a validationKey attribute, indicating the key that was used to perform the validation, and a
status attribute, indicating what should be done with the selected action/component (e.g., display the
action/component, hide the action/component, allow the selected action to proceed, etc.)
In addition, a UIValidationResult may also contain a targetObject attribute, which links the result to a specific
WTReference, and a feedbackMsg attribute, which contains text that could optionally be displayed to the user.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static UIValidationResult |
newInstance()
Creates an empty UIValidationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status)
Creates a UIValdiationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
List<UIValidationFeedbackMsg> feedbackMsgList)
Creates a UIValdiationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
UIValidationFeedbackMsg feedbackMsg)
Creates a UIValdiationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject)
Creates a UIValdiationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject,
List<UIValidationFeedbackMsg> feedbackMsgList)
Creates a UIValdiationResult object Supported API: true |
static UIValidationResult |
newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject,
UIValidationFeedbackMsg feedbackMsg)
Creates a UIValdiationResult object Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static UIValidationResult newInstance()
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status)
validationKey - The UIValidationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given
action/component
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
List<UIValidationFeedbackMsg> feedbackMsgList)
validationKey - The validationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given action/componentfeedbackMsgList - A List of UIValidationFeedbackMsg objects providing additional feedback for the end user
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
UIValidationFeedbackMsg feedbackMsg)
validationKey - The UIValidationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given
action/componentfeedbackMsg - A single UIValidationFeedbackMsg to associate with the result
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject)
validationKey - The UIValidationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given
action/componenttargetObject - The object that this UIValidationResult applies to
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject,
List<UIValidationFeedbackMsg> feedbackMsgList)
validationKey - The validationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given action/componenttargetObject - The object that this UIValidationResult applies tofeedbackMsgList - A List of UIValidationFeedbackMsg objects providing additional feedback for the end user
public static UIValidationResult newInstance(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationStatus status,
WTReference targetObject,
UIValidationFeedbackMsg feedbackMsg)
validationKey - The UIValidationKey that was used to perform validationstatus - a UIValidationStatus enumerated type indicating what should be done for the given
action/componenttargetObject - The object that this UIValidationResult applies tofeedbackMsg - A single UIValidationFeedbackMsg to associate with the result
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||