Class ConfigurableNavigationHandler
java.lang.Object
jakarta.faces.application.NavigationHandler
jakarta.faces.application.ConfigurableNavigationHandler
- Direct Known Subclasses:
ConfigurableNavigationHandlerWrapper
@Deprecated(since="5.0",
forRemoval=true)
public abstract class ConfigurableNavigationHandler
extends NavigationHandler
Deprecated, for removal: This API element is subject to removal in a future version.
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.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionabstract NavigationCasegetNavigationCase(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.abstract Map<String, Set<NavigationCase>> 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>.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
handleNavigation, handleNavigationModifier and TypeMethodDescriptionabstract voidhandleNavigation(FacesContext context, String fromAction, String outcome) Perform navigation processing based on the state information in the specifiedFacesContext, plus the outcome string returned by an executed application action.voidhandleNavigation(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
-
ConfigurableNavigationHandler
public ConfigurableNavigationHandler()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
inspectFlow
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. For backward compatibility with earlier implementations, an empty method is provided.
- Overrides:
inspectFlowin classNavigationHandler- Parameters:
context- the Faces context.flow- the flow.- Since:
- 2.2
NavigationHandlerinstead. The methods have been merged.