org.apache.myfaces.application
Class FlowNavigationCase
java.lang.Object
javax.faces.application.NavigationCase
javax.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
Methods inherited from class javax.faces.application.NavigationCaseWrapper |
equals, getActionURL, getBookmarkableURL, getCondition, getFromAction, getFromViewId, getParameters, getRedirectURL, getResourceURL, getToViewId, hasCondition, hashCode, isIncludeViewParams, isRedirect, toString |
FlowNavigationCase
public FlowNavigationCase(NavigationCase delegate,
String fromOutcome,
String toFlowDocumentId)
getWrapped
public NavigationCase getWrapped()
- Specified by:
getWrapped
in interface FacesWrapper<NavigationCase>
- Overrides:
getWrapped
in class NavigationCaseWrapper
getFromOutcome
public String getFromOutcome()
- Overrides:
getFromOutcome
in class NavigationCaseWrapper
getToFlowDocumentId
public String getToFlowDocumentId()
- Overrides:
getToFlowDocumentId
in class NavigationCaseWrapper
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.