Package org.apache.myfaces.application
Class NavigationHandlerImpl
- java.lang.Object
- 
- jakarta.faces.application.NavigationHandler
- 
- jakarta.faces.application.ConfigurableNavigationHandler
- 
- org.apache.myfaces.application.NavigationHandlerImpl
 
 
 
- 
 public class NavigationHandlerImpl extends ConfigurableNavigationHandler - Version:
- $Revision$ $Date$
- Author:
- Thomas Spiegl (latest modification by $Author$), Anton Koinov
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classNavigationHandlerImpl.NavigationContextA 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.
 - 
Field SummaryFields Modifier and Type Field Description static StringCALL_PRE_DISPOSE_VIEWStringSTARTED_FLOW_TRANSITION
 - 
Constructor SummaryConstructors Constructor Description NavigationHandlerImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationCasegetNavigationCase(FacesContext facesContext, String fromAction, String outcome)Returns the navigation case that applies for the given action and outcomeMap<String,Set<NavigationCase>>getNavigationCases()NavigationCasegetNavigationCommand(FacesContext facesContext, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome, String toFlowDocumentId)NavigationCasegetNavigationCommandFromGlobalNavigationCases(FacesContext facesContext, String viewId, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome)StringgetViewId(FacesContext context, String fromAction, String outcome)Returns the view ID that would be created for the given action and outcomeprotected ViewIdSupportgetViewIdSupport()voidhandleNavigation(FacesContext facesContext, String fromAction, String outcome)voidhandleNavigation(FacesContext facesContext, String fromAction, String outcome, String toFlowDocumentId)voidinspectFlow(FacesContext context, Flow flow)voidsetViewIdSupport(ViewIdSupport viewIdSupport)- 
Methods inherited from class jakarta.faces.application.ConfigurableNavigationHandlergetNavigationCase, performNavigation
 
- 
 
- 
- 
- 
Field Detail- 
CALL_PRE_DISPOSE_VIEWpublic static final String CALL_PRE_DISPOSE_VIEW - See Also:
- Constant Field Values
 
 - 
STARTED_FLOW_TRANSITIONpublic final String STARTED_FLOW_TRANSITION - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
handleNavigationpublic void handleNavigation(FacesContext facesContext, String fromAction, String outcome) - Specified by:
- handleNavigationin class- NavigationHandler
 
 - 
handleNavigationpublic void handleNavigation(FacesContext facesContext, String fromAction, String outcome, String toFlowDocumentId) - Overrides:
- handleNavigationin class- NavigationHandler
 
 - 
getViewIdSupportprotected ViewIdSupport getViewIdSupport() 
 - 
setViewIdSupportpublic void setViewIdSupport(ViewIdSupport viewIdSupport) 
 - 
getNavigationCasepublic NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome) Returns the navigation case that applies for the given action and outcome- Specified by:
- getNavigationCasein class- ConfigurableNavigationHandler
 
 - 
getNavigationCommandFromGlobalNavigationCasespublic NavigationCase getNavigationCommandFromGlobalNavigationCases(FacesContext facesContext, String viewId, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome) 
 - 
getNavigationCommandpublic NavigationCase getNavigationCommand(FacesContext facesContext, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome, String toFlowDocumentId) 
 - 
getViewIdpublic String getViewId(FacesContext context, String fromAction, String outcome) Returns the view ID that would be created for the given action and outcome
 - 
getNavigationCasespublic Map<String,Set<NavigationCase>> getNavigationCases() - Specified by:
- getNavigationCasesin class- ConfigurableNavigationHandler
 
 - 
inspectFlowpublic void inspectFlow(FacesContext context, Flow flow) - Overrides:
- inspectFlowin class- ConfigurableNavigationHandler
 
 
- 
 
-