Package javax.faces.flow.builder
Class NavigationCaseBuilder
java.lang.Object
javax.faces.flow.builder.NavigationCaseBuilder
Create a navigation case in the current Flow.
- Since:
- 2.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAllows populating the redirect with parameters and setting the includeViewParams option. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NavigationCaseBuilderSet the if of the current navigation case.abstract NavigationCaseBuildercondition(ValueExpression condition) Set the if of the current navigation case.abstract NavigationCaseBuilderfromAction(String fromAction) Set the from-action of the current navigation case.abstract NavigationCaseBuilderfromOutcome(String fromOutcome) Set the from-outcome of the current navigation case.abstract NavigationCaseBuilderfromViewId(String fromViewId) Set the from-view-id of the current navigation case.redirect()Create a redirect within this navigation case.abstract NavigationCaseBuildertoFlowDocumentId(String toFlowDocumentId) Set the to-flow-document-id of the current navigation case.abstract NavigationCaseBuilderSet the to-view-id of the current navigation case.
-
Constructor Details
-
NavigationCaseBuilder
public NavigationCaseBuilder()
-
-
Method Details
-
fromViewId
Set the from-view-id of the current navigation case.
- Parameters:
fromViewId- the from-view-id- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
fromAction
Set the from-action of the current navigation case.
- Parameters:
fromAction- the from-action- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
fromOutcome
Set the from-outcome of the current navigation case.
- Parameters:
fromOutcome- the from-outcome- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
toViewId
Set the to-view-id of the current navigation case.
- Parameters:
toViewId- the to-view-id- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
toFlowDocumentId
Set the to-flow-document-id of the current navigation case.
- Parameters:
toFlowDocumentId- the to-flow-document-id- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
condition
Set the if of the current navigation case.
- Parameters:
condition- the- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
condition
Set the if of the current navigation case.
- Parameters:
condition- the- Throws:
NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
redirect
Create a redirect within this navigation case.
- Since:
- 2.2
-