public class NavigationHandlerImpl extends ConfigurableNavigationHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
NavigationHandlerImpl.NavigationContext
A navigation command is an operation to do by the navigation handler like
do a redirect, execute a normal navigation or enter or exit a flow.
|
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() |
NavigationCase |
getNavigationCommand(FacesContext facesContext,
NavigationHandlerImpl.NavigationContext navigationContext,
String fromAction,
String outcome,
String toFlowDocumentId) |
NavigationCase |
getNavigationCommandFromGlobalNavigationCases(FacesContext facesContext,
String viewId,
NavigationHandlerImpl.NavigationContext navigationContext,
String fromAction,
String outcome) |
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 |
handleNavigation(FacesContext facesContext,
String fromAction,
String outcome,
String toFlowDocumentId) |
void |
inspectFlow(FacesContext context,
Flow flow) |
void |
setNavigationHandlerSupport(NavigationHandlerSupport navigationHandlerSupport) |
getNavigationCase, performNavigation
public void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
handleNavigation
in class NavigationHandler
public void handleNavigation(FacesContext facesContext, String fromAction, String outcome, String toFlowDocumentId)
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 NavigationCase getNavigationCommandFromGlobalNavigationCases(FacesContext facesContext, String viewId, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome)
public NavigationCase getNavigationCommand(FacesContext facesContext, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome, String toFlowDocumentId)
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
public void inspectFlow(FacesContext context, Flow flow)
inspectFlow
in class ConfigurableNavigationHandler
Copyright © 2020 The Apache Software Foundation. All rights reserved.