@ProviderType
public class EventNavigationResult
extends java.lang.Object
EventNavigationResult is the type of object that can be returned from a BridgeEventHandler.handleEvent(FacesContext, Event) call. When it is returned as a (non-null)
value, 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 and Description |
|---|
EventNavigationResult() |
EventNavigationResult(java.lang.String fromAction,
java.lang.String outcome)
Constructor which sets the object to the desired fromAction and outcome.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFromAction() |
java.lang.String |
getOutcome() |
void |
setFromAction(java.lang.String fromAction)
Sets the value that corresponds to the <from-action> element of a navigation-rule.
|
void |
setOutcome(java.lang.String outcome)
Sets the value that corresponds to the <outcome> element of a navigation-rule.
|
public EventNavigationResult()
public EventNavigationResult(java.lang.String fromAction,
java.lang.String outcome)
fromAction - Value corresponding to the <from-action> element of a navigation-rule.outcome - Value corresponding to the <outcome> element of a navigation-rule.public java.lang.String getFromAction()
public java.lang.String getOutcome()
public void setFromAction(java.lang.String fromAction)
fromAction - The value that corresponds to the <from-action> element of a navigation-rule.public void setOutcome(java.lang.String outcome)
outcome - The value that corresponds to the <from-action> element of a navigation-rule.Copyright © 2020 Liferay, Inc. All Rights Reserved.