Class ConfigurableNavigationHandlerWrapper
java.lang.Object
jakarta.faces.application.NavigationHandler
jakarta.faces.application.ConfigurableNavigationHandler
jakarta.faces.application.ConfigurableNavigationHandlerWrapper
- All Implemented Interfaces:
FacesWrapper<ConfigurableNavigationHandler>
@Deprecated(since="5.0",
forRemoval=true)
public abstract class ConfigurableNavigationHandlerWrapper
extends ConfigurableNavigationHandler
implements FacesWrapper<ConfigurableNavigationHandler>
Deprecated, for removal: This API element is subject to removal in a future version.
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.
- Since:
- 2.2
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Use the other constructor taking the implementation being wrapped.Deprecated, for removal: This API element is subject to removal in a future version.If this configurable navigation handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetNavigationCase(FacesContext context, String fromAction, String outcome) Deprecated, for removal: This API element is subject to removal in a future version.Return theNavigationCaserepresenting the navigation that would be taken hadNavigationHandler.handleNavigation(FacesContext, String, String)been called with the same arguments ornullif there is no such case.getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Deprecated, for removal: This API element is subject to removal in a future version.Return theNavigationCaserepresenting the navigation that would be taken hadNavigationHandler.handleNavigation(FacesContext, String, String)been called with the same arguments ornullif there is no such case.Deprecated, for removal: This API element is subject to removal in a future version.Return aMap<String, Set<NavigationCase>>where the keys are<from-view-id>values and the values areSet<NavigationCase>where each element in the Set is aNavigationCasethat applies to that<from-view-id>.Deprecated, for removal: This API element is subject to removal in a future version.A class that implements this interface uses this method to return an instance of the class being wrapped.voidhandleNavigation(FacesContext context, String fromAction, String outcome) Deprecated, for removal: This API element is subject to removal in a future version.Perform navigation processing based on the state information in the specifiedFacesContext, plus the outcome string returned by an executed application action.voidinspectFlow(FacesContext context, Flow flow) Deprecated, for removal: This API element is subject to removal in a future version.Called by the flow system to cause the flow to be inspected for navigation rules.voidperformNavigation(String outcome) Deprecated, for removal: This API element is subject to removal in a future version.A convenience method to signal the Jakarta Faces implementation to perform navigation with the provided outcome.Methods inherited from class NavigationHandler
handleNavigationModifier and TypeMethodDescriptionvoidhandleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Overloaded variant ofNavigationHandler.handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String)that allows the caller to provide the defining document id for a flow to be entered by this navigation.
-
Constructor Details
-
ConfigurableNavigationHandlerWrapper
Deprecated.Use the other constructor taking the implementation being wrapped.
-
-
Method Details
-
getWrapped
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
- Specified by:
getWrappedin interfaceFacesWrapper<ConfigurableNavigationHandler>- Returns:
- the wrapped instance.
-
inspectFlow
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ConfigurableNavigationHandlerCalled 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.
- Overrides:
inspectFlowin classConfigurableNavigationHandler- Parameters:
context- the Faces context.flow- the flow.
-
NavigationHandlerWrapperinstead. The methods have been merged.