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>
public class FlowNavigationCase extends NavigationCaseWrapper
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
Constructors Constructor Description FlowNavigationCase(NavigationCase delegate, String fromOutcome, String toFlowDocumentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFromOutcome()
String
getToFlowDocumentId()
NavigationCase
getWrapped()
-
Methods inherited from class jakarta.faces.application.NavigationCaseWrapper
equals, getActionURL, getBookmarkableURL, getCondition, getFromAction, getFromViewId, getParameters, getRedirectURL, getResourceURL, getToViewId, hasCondition, hashCode, isIncludeViewParams, isRedirect, toString
-
-
-
-
Constructor Detail
-
FlowNavigationCase
public FlowNavigationCase(NavigationCase delegate, String fromOutcome, String toFlowDocumentId)
-
-
Method Detail
-
getWrapped
public NavigationCase getWrapped()
- Specified by:
getWrapped
in interfaceFacesWrapper<NavigationCase>
- Overrides:
getWrapped
in classNavigationCaseWrapper
-
getFromOutcome
public String getFromOutcome()
- Overrides:
getFromOutcome
in classNavigationCaseWrapper
-
getToFlowDocumentId
public String getToFlowDocumentId()
- Overrides:
getToFlowDocumentId
in classNavigationCaseWrapper
-
-