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 SummaryConstructors Constructor Description FlowNavigationCase(NavigationCase delegate, String fromOutcome, String toFlowDocumentId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFromOutcome()StringgetToFlowDocumentId()NavigationCasegetWrapped()- 
Methods inherited from class jakarta.faces.application.NavigationCaseWrapperequals, getActionURL, getBookmarkableURL, getCondition, getFromAction, getFromViewId, getParameters, getRedirectURL, getResourceURL, getToViewId, hasCondition, hashCode, isIncludeViewParams, isRedirect, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
FlowNavigationCasepublic FlowNavigationCase(NavigationCase delegate, String fromOutcome, String toFlowDocumentId) 
 
- 
 - 
Method Detail- 
getWrappedpublic NavigationCase getWrapped() - Specified by:
- getWrappedin interface- FacesWrapper<NavigationCase>
- Overrides:
- getWrappedin class- NavigationCaseWrapper
 
 - 
getFromOutcomepublic String getFromOutcome() - Overrides:
- getFromOutcomein class- NavigationCaseWrapper
 
 - 
getToFlowDocumentIdpublic String getToFlowDocumentId() - Overrides:
- getToFlowDocumentIdin class- NavigationCaseWrapper
 
 
- 
 
-