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.
|
Modifier and Type | Field and Description |
---|---|
static String |
CALL_PRE_DISPOSE_VIEW |
Constructor and Description |
---|
NavigationHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
String |
getViewId(FacesContext context,
String fromAction,
String outcome)
Returns the view ID that would be created for the given action and outcome
|
protected ViewIdSupport |
getViewIdSupport() |
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 |
setViewIdSupport(ViewIdSupport viewIdSupport) |
getNavigationCase, performNavigation
public static final String CALL_PRE_DISPOSE_VIEW
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 ViewIdSupport getViewIdSupport()
public void setViewIdSupport(ViewIdSupport viewIdSupport)
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 Map<String,Set<NavigationCase>> getNavigationCases()
getNavigationCases
in class ConfigurableNavigationHandler
public void inspectFlow(FacesContext context, Flow flow)
inspectFlow
in class ConfigurableNavigationHandler
Copyright © 2022 The Apache Software Foundation. All rights reserved.