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 Summary
Nested 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 Summary
Fields Modifier and Type Field Description static StringCALL_PRE_DISPOSE_VIEW
-
Constructor Summary
Constructors Constructor Description NavigationHandlerImpl()
-
Method Summary
All 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.ConfigurableNavigationHandler
getNavigationCase, performNavigation
-
-
-
-
Field Detail
-
CALL_PRE_DISPOSE_VIEW
public static final String CALL_PRE_DISPOSE_VIEW
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleNavigation
public void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
- Specified by:
handleNavigationin classNavigationHandler
-
handleNavigation
public void handleNavigation(FacesContext facesContext, String fromAction, String outcome, String toFlowDocumentId)
- Overrides:
handleNavigationin classNavigationHandler
-
getViewIdSupport
protected ViewIdSupport getViewIdSupport()
-
setViewIdSupport
public void setViewIdSupport(ViewIdSupport viewIdSupport)
-
getNavigationCase
public NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
Returns the navigation case that applies for the given action and outcome- Specified by:
getNavigationCasein classConfigurableNavigationHandler
-
getNavigationCommandFromGlobalNavigationCases
public NavigationCase getNavigationCommandFromGlobalNavigationCases(FacesContext facesContext, String viewId, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome)
-
getNavigationCommand
public NavigationCase getNavigationCommand(FacesContext facesContext, NavigationHandlerImpl.NavigationContext navigationContext, String fromAction, String outcome, String toFlowDocumentId)
-
getViewId
public String getViewId(FacesContext context, String fromAction, String outcome)
Returns the view ID that would be created for the given action and outcome
-
getNavigationCases
public Map<String,Set<NavigationCase>> getNavigationCases()
- Specified by:
getNavigationCasesin classConfigurableNavigationHandler
-
inspectFlow
public void inspectFlow(FacesContext context, Flow flow)
- Overrides:
inspectFlowin classConfigurableNavigationHandler
-
-