public class NavigationHandlerImpl extends ConfigurableNavigationHandler
Constructor and Description |
---|
NavigationHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
String |
beforeNavigation(String viewId)
TODO
Invoked by the navigation handler before the new view component is created.
|
NavigationCase |
getNavigationCase(FacesContext facesContext,
String fromAction,
String outcome)
Returns the navigation case that applies for the given action and outcome
|
Map<String,Set<NavigationCase>> |
getNavigationCases() |
protected NavigationHandlerSupport |
getNavigationHandlerSupport() |
String |
getViewId(FacesContext context,
String fromAction,
String outcome)
Returns the view ID that would be created for the given action and outcome
|
void |
handleNavigation(FacesContext facesContext,
String fromAction,
String outcome) |
void |
setNavigationHandlerSupport(NavigationHandlerSupport navigationHandlerSupport) |
performNavigation
public void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
handleNavigation
in class NavigationHandler
protected NavigationHandlerSupport getNavigationHandlerSupport()
public void setNavigationHandlerSupport(NavigationHandlerSupport navigationHandlerSupport)
public NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
getNavigationCase
in class ConfigurableNavigationHandler
public String getViewId(FacesContext context, String fromAction, String outcome)
public String beforeNavigation(String viewId)
viewId
- The view ID to be createdpublic Map<String,Set<NavigationCase>> getNavigationCases()
getNavigationCases
in class ConfigurableNavigationHandler
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.