|
||||||||||
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(java.lang.String action,
java.lang.String outcome)
Constructor which sets the object to the desired fromAction and outcome |
Method Summary | |
---|---|
java.lang.String |
getFromAction()
Gets the fromAction stored in this object. |
java.lang.String |
getOutcome()
Gets the outcome stored in this object. |
void |
setFromAction(java.lang.String action)
Sets the fromAction for this object. |
void |
setOutcome(java.lang.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(java.lang.String action, java.lang.String outcome)
action
- desired fromActionoutcome
- desired outcomeMethod Detail |
---|
public java.lang.String getFromAction()
fromAction
corresponds to the fromAction
string in the faces-config.xml
navigation rule.
String
containing the fromActionpublic void setFromAction(java.lang.String action)
fromAction
corresponds to the fromAction
string in the faces-config.xml
navigation rule.
action
- new fromActionpublic java.lang.String getOutcome()
outcome
corresponds to the outcome
string in the faces-config.xml
navigation rule.
String
containing the fromActionpublic void setOutcome(java.lang.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 |