public class DialogResponse extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected static String |
TRUE_VALUES |
Constructor and Description |
---|
DialogResponse()
Default Constructor.
|
DialogResponse(String dialogId,
String response,
String explanation)
Constructor taking dialog id, response, and explanation.
|
Modifier and Type | Method and Description |
---|---|
String |
getDialogId()
Id for the dialog whose response has been captured.
|
String |
getExplanation()
If the dialog contained an explanation field that binds to the generic form property, the value (if any)
given by the user.
|
String |
getResponse()
String response for the dialog action (button) that was chosen.
|
boolean |
getResponseAsBoolean()
Returns the response for the dialog as a boolean.
|
void |
setDialogId(String dialogId) |
void |
setExplanation(String explanation) |
void |
setResponse(String response) |
protected static final String TRUE_VALUES
public DialogResponse()
public DialogResponse(String dialogId, String response, String explanation)
public String getDialogId()
public void setDialogId(String dialogId)
getDialogId()
public String getResponse()
public boolean getResponseAsBoolean()
TRUE_VALUES
public void setResponse(String response)
getResponse()
public String getExplanation()
Note if the explanation field was found to a different model property, its contents will not be available here. It should be retrieved from the corresponding model property.
public void setExplanation(String explanation)
getExplanation()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.