|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.portlet.faces.event.EventNavigationResult
public class EventNavigationResult
An EventNavigationResult is the type of object that can
be returned from a BrdigeEventHandler.handleEvent call.
When it is returned (non-null) it conveys the Faces navigation information
to the bridge that it needs to utilize the Faces NavigationHandler
to evaluate the navigation according to the configured rules. The
fromAction corresponds to the fromAction string
in the faces-config.xml navigation rule. The outcome
corresponds to the outcome string in the navigation rule.
| Constructor Summary | |
|---|---|
EventNavigationResult()
Null constructor |
|
EventNavigationResult(String action,
String outcome)
Constructor which sets the object to the desired fromAction and outcome |
|
| Method Summary | |
|---|---|
String |
getFromAction()
Gets the fromAction stored in this object. |
String |
getOutcome()
Gets the outcome stored in this object. |
void |
setFromAction(String action)
Sets the fromAction for this object. |
void |
setOutcome(String outcome)
Sets the fromAction for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventNavigationResult()
public EventNavigationResult(String action,
String outcome)
action - desired fromActionoutcome - desired outcome| Method Detail |
|---|
public String getFromAction()
fromAction
corresponds to the fromAction string in the faces-config.xml
navigation rule.
String containing the fromActionpublic void setFromAction(String action)
fromAction
corresponds to the fromAction string in the faces-config.xml
navigation rule.
action - new fromActionpublic String getOutcome()
outcome
corresponds to the outcome string in the faces-config.xml
navigation rule.
String containing the fromActionpublic void setOutcome(String outcome)
fromAction
corresponds to the fromAction string in the faces-config.xml
navigation rule.
outcome - new outcome
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||