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 javax. 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 javax. Return the |
| public Map | getNavigationCases()
Implements abstract javax. Return a |
| public ConfigurableNavigationHandler | getWrapped()
Implements javax. 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 javax. Perform navigation
processing based on the state information in the specified |
| public void | inspectFlow(FacesContext
the Faces context. context, Flow the flow. flow)Overrides javax. Called by the flow system to cause the flow to be inspected for navigation rules. |
| public void | performNavigation(String
the provided outcome. outcome)Overrides javax. A convenience method to signal the JavaServer 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 javax. Doc from javax. Return the
| |
| getNavigationCase | back to summary |
|---|---|
| public NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Overrides javax. Doc from javax. Return the
| |
| getNavigationCases | back to summary |
|---|---|
| public Map Implements abstract javax. Doc from javax. Return a
| |
| getWrapped | back to summary |
|---|---|
| public ConfigurableNavigationHandler getWrapped() Implements javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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. | |