NavigationHandlerImpl is the class that implements default navigation handling. Refer to section 7.4.2 of the specification for more details. PENDING: Make independent of ApplicationAssociate.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | development
Flag indicated the current mode. |
| private static final String | |
| private static final Pattern | |
| private static final Logger | |
| private volatile Map | navigationMaps
|
| private static final Pattern | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | NavigationHandlerImpl()
This constructor uses the current |
| Modifier and Type | Method and Description |
|---|---|
| private void | clearViewMapIfNecessary(FacesContext facesContext, String newId)
Calls |
| private String | Returns: id of possible Node or Flow without '/' in the stringthe ctx, NavigationHandlerImpl.FacesContext for the current requestthe caseStructCaseStruct to look for the to view idTo look for the Flow or Node by the id, the '/' in the id got from navCase should be trimmed. |
| private void | |
| private NavigationHandlerImpl. | Returns: Theview identifier.the ctx, Set<NavigationCase> FacesContext for the current requestThe list of navigation cases. caseSet, String The action reference string. fromAction, String The outcome string. outcome, String toFlowDocumentId)This method will attempt to find the |
| private NavigationHandlerImpl. | Returns: Theview identifier.the ctx, String FacesContext for the current requestThe action reference string. fromAction, String The outcome string. outcome, String toFlowDocumentId, Map<String, Set<NavigationCase>> navMap)This method will extract the cases for which a |
| private NavigationHandlerImpl. | Returns: Theview identifier.the ctx, String FacesContext for the current requestThe current viewId, String view identifier.The action reference string. fromAction, String The outcome string. outcome, String toFlowDocumentId, Map<String, Set<NavigationCase>> navMap)This method finds the List of cases for the current |
| private NavigationHandlerImpl. | findFacesFlowCallMatch(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
|
| private NavigationHandlerImpl. | Returns: a CaseStruct representing the the navigation result based on the provided inputthe context, String FacesContext for the current requestof the viewId, String UIViewRoot for the current requestthe navigation action fromAction, String the navigation outcome outcome, String flowDefiningDocumentId)Create a navigation case based on content within the outcome. |
| private NavigationHandlerImpl. | findMethodCallMatch(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
|
| private NavigationHandlerImpl. | |
| private NavigationHandlerImpl. | findRootNavigationMapAbandonedFlowMatch(FacesContext ctx, String viewId, String fromAction, String outcome, String toFlowDocumentId)
|
| private NavigationHandlerImpl. | |
| private NavigationHandlerImpl. | |
| private NavigationHandlerImpl. | Returns: Theview identifier.the ctx, String FacesContext for the current requestThe current viewId, String view identifier.The action reference string. fromAction, String The outcome string. outcome, String toFlowDocumentId, Map<String, Set<NavigationCase>> navMap)This method traverses the wild card match List (containing |
| private boolean | |
| public NavigationCase | getNavigationCase(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome)null)Implements abstract jakarta.
Return the |
| public NavigationCase | getNavigationCase(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome, String null)The value of the toFlowDocumentId)toFlowDocumentId property for the navigation case (which may be
null)Overrides jakarta.
Return the |
| public Map | getNavigationCases()
Implements abstract jakarta.
Return a |
| private NavigationHandlerImpl. | |
| private Map | |
| private Map | |
| private Map | |
| private NavigationHandlerImpl. | Returns: Theview identifier.the @{link FacesContext} for the current request ctx, String The action reference string fromAction, String The outcome string outcome, String toFlowDocumentId)This method uses helper methods to determine the new |
| private Set | |
| public void | handleNavigation(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome)null)Implements abstract jakarta.
Perform navigation processing based on the state information in the
specified |
| public void | handleNavigation(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome, String null)The defining document id of the flow into which this navigation will cause entry. toFlowDocumentId)Overrides jakarta.
Overloaded variant of
|
| private void | |
| private void | |
| private void | |
| private void | |
| public void | inspectFlow(FacesContext
the Faces context. context, Flow the flow. flow)Overrides jakarta. Called by the flow system to cause the flow to be inspected for navigation rules. |
| private boolean | |
| public static boolean | |
| private void | |
| public static void | |
| private NavigationHandlerImpl. | |
| public static void | |
| private void |