|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.components.forms.FormResult
public class FormResult
A class used to pass feedback from one form processor to another or
from a form processor back to the WizardServlet after processing completes.
This class contains status and nextAction flags to indicate what the disposition
of the wizard window should be and how the parent window should be refreshed.
It can contain feedback messages for the user and javascript to be executed
in the response page.
This class also contains methods that are called by the WizardServlet to
write the wizard response page.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addException(Throwable t)
Supported API: true |
void |
addFeedbackMessage(FeedbackMessage mess)
Supported API: true |
List<Throwable> |
getExceptions()
Supported API: true |
List<FeedbackMessage> |
getFeedbackMessages()
Supported API: true |
String |
getJavascript()
Supported API: true |
FormResultAction |
getNextAction()
Supported API: true |
FormProcessingStatus |
getStatus()
Supported API: true |
String |
getURL()
Supported API: true |
void |
mergeResults(FormResult sourceResult)
Adds the messages and exceptions from a source FormResult to this FormResult. |
void |
setJavascript(String javascriptString)
Supported API: true |
void |
setNextAction(FormResultAction action)
Supported API: true |
void |
setStatus(FormProcessingStatus status)
Supported API: true |
void |
setURL(String urlString)
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setStatus(FormProcessingStatus status)
public FormProcessingStatus getStatus()
public void setNextAction(FormResultAction action)
public FormResultAction getNextAction()
public void setURL(String urlString)
public String getURL()
public void setJavascript(String javascriptString)
public String getJavascript()
public void addFeedbackMessage(FeedbackMessage mess)
public List<FeedbackMessage> getFeedbackMessages()
public void addException(Throwable t)
public List<Throwable> getExceptions()
public void mergeResults(FormResult sourceResult)
| Status of this result on entry | Status of sourceResult on entry | Status of this result on exit |
| FAILURE | any | FAILURE |
| NON_FATAL_ERROR | FAILURE | FAILURE |
| NON_FATAL_ERROR | NON_FATAL_ERROR, SUCCESS | NON_FATAL_ERROR |
| SUCCESS | FAILURE | FAILURE |
| SUCCESS | NON_FATAL_ERROR | NON_FATAL_ERROR |
| SUCCESS | SUCCESS | SUCCESS |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||