Provides a simple implementation of ConfigurableNavigationHandler
that can be subclassed by developers wishing to provide specialized behavior to an existing
ConfigurableNavigationHandler instance. The default implementation of all methods is to call through to the
wrapped ConfigurableNavigationHandler.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private ConfigurableNavigationHandler |
| Access | Constructor and Description |
|---|---|
| public | ConfigurableNavigationHandlerWrapper()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | ConfigurableNavigationHandlerWrapper(ConfigurableNavigationHandler
The implementation being wrapped. wrapped)If this configurable navigation handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| public ConfigurableNavigationHandler | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| 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 | 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. |
| public void | performNavigation(String
the provided outcome. outcome)Overrides jakarta. A convenience method to signal the Jakarta Faces implementation to perform navigation with the provided outcome. |
| wrapped | back to summary |
|---|---|
| private ConfigurableNavigationHandler wrapped | |
| ConfigurableNavigationHandlerWrapper | back to summary |
|---|---|
| public ConfigurableNavigationHandlerWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| ConfigurableNavigationHandlerWrapper | back to summary |
|---|---|
| public ConfigurableNavigationHandlerWrapper(ConfigurableNavigationHandler wrapped)
If this configurable navigation handler has been decorated, the implementation doing the decorating should push the
implementation being wrapped to this constructor. The
| |
| getNavigationCase | back to summary |
|---|---|
| public NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome) Implements abstract jakarta. Doc from jakarta.
Return the
| |
| getNavigationCase | back to summary |
|---|---|
| public NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Overrides jakarta. Doc from jakarta.
Return the
| |
| getNavigationCases | back to summary |
|---|---|
| public Map Implements abstract jakarta. Doc from jakarta.
Return a
| |
| getWrapped | back to summary |
|---|---|
| public ConfigurableNavigationHandler getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| handleNavigation | back to summary |
|---|---|
| public void handleNavigation(FacesContext context, String fromAction, String outcome) Implements abstract jakarta. Doc from jakarta.
Perform navigation processing based on the state information in the
specified
If the implementation class also extends
This method must set the render targets (used in partial rendering) to
| |
| inspectFlow | back to summary |
|---|---|
| public void inspectFlow(FacesContext context, Flow flow) Overrides jakarta. Doc from jakarta. 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) Overrides jakarta. Doc from jakarta. A convenience method to signal the Jakarta 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. | |