ConfigurableNavigationHandler
extends the contract of NavigationHandler to allow runtime
inspection of the NavigationCases that make up the rule-base
for navigation. An implementation compliant with the version of the
specification in which this class was introduced (or a later version)
must make it so that its NavigationHandler is an
extension of this class.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract NavigationCase | Returns: the navigation case, ornull.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)Return the |
| public NavigationCase | Returns: the navigation case, ornull.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)Return the |
| public abstract Map | Returns: a map with navigation cases.Return a |
| public void | inspectFlow(FacesContext
the Faces context. context, Flow the flow. flow)Called by the flow system to cause the flow to be inspected for navigation rules. |
| public void | performNavigation(String
the provided outcome. outcome)A convenience method to signal the JavaServer Faces implementation to perform navigation with the provided outcome. |
| ConfigurableNavigationHandler | back to summary |
|---|---|
| public ConfigurableNavigationHandler() | |
| getNavigationCase | back to summary |
|---|---|
| public abstract NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome) Return the
| |
| getNavigationCase | back to summary |
|---|---|
| public NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Return the
| |
| getNavigationCases | back to summary |
|---|---|
| public abstract Map Return a
| |
| inspectFlow | back to summary |
|---|---|
| public void inspectFlow(FacesContext context, Flow flow) Called by the flow system to cause the flow to be inspected for navigation rules. For backward compatibility with earlier implementations, an empty method is provided.
| |
| performNavigation | back to summary |
|---|---|
| public void performNavigation(String outcome) A convenience method to signal the JavaServer Faces implementation to perform navigation with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as the "from viewId" and the "from action" is null.
| |