org.apache.myfaces.application
Class NavigationHandlerImpl.NavigationContext

java.lang.Object
  extended by 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
NavigationHandlerImpl.NavigationContext()
           
NavigationHandlerImpl.NavigationContext(NavigationCase navigationCase)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationHandlerImpl.NavigationContext

public NavigationHandlerImpl.NavigationContext()

NavigationHandlerImpl.NavigationContext

public NavigationHandlerImpl.NavigationContext(NavigationCase navigationCase)
Method Detail

getNavigationCase

public NavigationCase getNavigationCase()

setNavigationCase

public void setNavigationCase(NavigationCase navigationCase)

getSourceFlows

public List<Flow> getSourceFlows()

getTargetFlows

public List<Flow> getTargetFlows()

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)


Copyright © 2015 The Apache Software Foundation. All rights reserved.