|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.ui.validation.UIValidationResultSet
public class UIValidationResultSet
A UIValidationResultSet object contains one or more UIValidationResult objects. It organizes these UIValidationResult
objects by validaiton key, status, and target object. This allows the user to retrieve lists (java.util.List objects)
of results based on those criteria.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getCumulativeFeedbackText()
Creates a single String of all the feedback message text for the results in a result set |
static UIValidationResultSet |
newInstance()
Craetes an (empty) instance of a UIValidationResultSet |
static UIValidationResultSet |
newInstance(UIValidationResult result)
Creates an instance of a UIValidationResultSet with the result argument as its only element |
UIValidationFeedbackMsg |
toFeedbackMessage()
This method can be used to consolodate the content of a UIValidationResultSet returned by a call to validateSelectedMultiSelectAction. It will concatenate all of the messages into a single string, and will use the following rules to determine the message type to return: - if all of the reuslts have a DENIED status, message type will be FAILURE - otherwise, if all of the results have a PERMITTED status, message type will be SUCCESS - otherwise, message type will be CONFIRMATION |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static UIValidationResultSet newInstance()
public static UIValidationResultSet newInstance(UIValidationResult result)
result - an element to add to the UIValidationResultSet
public UIValidationFeedbackMsg toFeedbackMessage()
public String getCumulativeFeedbackText()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||