Package org.apache.myfaces.application
Class FlowNavigationCase
java.lang.Object
jakarta.faces.application.NavigationCase
jakarta.faces.application.NavigationCaseWrapper
org.apache.myfaces.application.FlowNavigationCase
- All Implemented Interfaces:
FacesWrapper<NavigationCase>
Wrapper that helps overriding toFlowDocumentId and fromOutcome, to build
correctly a navigation case that cause a flow action (enter into a flow
or return from a flow).
The idea is if is necessary to enter into a flow set fromOutcome as the
flow id and toFlowDocumentId as the flow document id. If it is a return,
set fromOutcome as the return node and toFlowDocumentId as FlowHandler.NULL_FLOW
- Author:
- Leonardo Uribe
-
Constructor Summary
ConstructorsConstructorDescriptionFlowNavigationCase
(NavigationCase delegate, String fromOutcome, String toFlowDocumentId) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class jakarta.faces.application.NavigationCaseWrapper
equals, getActionURL, getBookmarkableURL, getCondition, getFromAction, getFromViewId, getParameters, getRedirectURL, getResourceURL, getToViewId, hasCondition, hashCode, isIncludeViewParams, isRedirect, toString
-
Constructor Details
-
Method Details
-
getWrapped
- Specified by:
getWrapped
in interfaceFacesWrapper<NavigationCase>
- Overrides:
getWrapped
in classNavigationCaseWrapper
-
getFromOutcome
- Overrides:
getFromOutcome
in classNavigationCaseWrapper
-
getToFlowDocumentId
- Overrides:
getToFlowDocumentId
in classNavigationCaseWrapper
-