Package org.apache.myfaces.application
Class NavigationHandlerImpl.NavigationContext
- java.lang.Object
-
- org.apache.myfaces.application.NavigationHandlerImpl.NavigationContext
-
- Enclosing class:
- NavigationHandlerImpl
protected static class NavigationHandlerImpl.NavigationContext extends Object
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. To resolve a navigation command, it is necessary to get an snapshot of the current "navigation context" and try to resolve the command.
-
-
Constructor Summary
Constructors Constructor Description NavigationContext()
NavigationContext(NavigationCase navigationCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTargetFlow(Flow sourceFlow, Flow targetFlow, FlowCallNode flowCallNode)
void
finish(FacesContext facesContext)
Flow
getCurrentFlow(FacesContext facesContext)
List<FlowCallNode>
getFlowCallNodes()
String
getLastDisplayedViewId(FacesContext facesContext, Flow flow)
NavigationCase
getNavigationCase()
List<Flow>
getSourceFlows()
List<Flow>
getTargetFlows()
void
popFlow(FacesContext facesContext)
void
pushFlow(FacesContext facesContext, Flow flow)
void
setNavigationCase(NavigationCase navigationCase)
-
-
-
Constructor Detail
-
NavigationContext
public NavigationContext()
-
NavigationContext
public NavigationContext(NavigationCase navigationCase)
-
-
Method Detail
-
getNavigationCase
public NavigationCase getNavigationCase()
-
setNavigationCase
public void setNavigationCase(NavigationCase navigationCase)
-
getFlowCallNodes
public List<FlowCallNode> getFlowCallNodes()
-
addTargetFlow
public void addTargetFlow(Flow sourceFlow, Flow targetFlow, FlowCallNode flowCallNode)
-
getCurrentFlow
public Flow getCurrentFlow(FacesContext facesContext)
-
finish
public void finish(FacesContext facesContext)
-
popFlow
public void popFlow(FacesContext facesContext)
-
pushFlow
public void pushFlow(FacesContext facesContext, Flow flow)
-
getLastDisplayedViewId
public String getLastDisplayedViewId(FacesContext facesContext, Flow flow)
-
-