Package javax.faces.flow.builder
Class NavigationCaseBuilder
- java.lang.Object
-
- javax.faces.flow.builder.NavigationCaseBuilder
-
public abstract class NavigationCaseBuilder extends java.lang.ObjectCreate a navigation case in the current
Flow.- Since:
- 2.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNavigationCaseBuilder.RedirectBuilderAllows populating the redirect with parameters and setting the includeViewParams option.
-
Constructor Summary
Constructors Constructor Description NavigationCaseBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NavigationCaseBuildercondition(java.lang.String condition)Set the if of the current navigation case.abstract NavigationCaseBuildercondition(javax.el.ValueExpression condition)Set the if of the current navigation case.abstract NavigationCaseBuilderfromAction(java.lang.String fromAction)Set the from-action of the current navigation case.abstract NavigationCaseBuilderfromOutcome(java.lang.String fromOutcome)Set the from-outcome of the current navigation case.abstract NavigationCaseBuilderfromViewId(java.lang.String fromViewId)Set the from-view-id of the current navigation case.abstract NavigationCaseBuilder.RedirectBuilderredirect()Create a redirect within this navigation case.abstract NavigationCaseBuildertoFlowDocumentId(java.lang.String toFlowDocumentId)Set the to-flow-document-id of the current navigation case.abstract NavigationCaseBuildertoViewId(java.lang.String toViewId)Set the to-view-id of the current navigation case.
-
-
-
Method Detail
-
fromViewId
public abstract NavigationCaseBuilder fromViewId(java.lang.String fromViewId)
Set the from-view-id of the current navigation case.
- Parameters:
fromViewId- the from-view-id- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
fromAction
public abstract NavigationCaseBuilder fromAction(java.lang.String fromAction)
Set the from-action of the current navigation case.
- Parameters:
fromAction- the from-action- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
fromOutcome
public abstract NavigationCaseBuilder fromOutcome(java.lang.String fromOutcome)
Set the from-outcome of the current navigation case.
- Parameters:
fromOutcome- the from-outcome- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
toViewId
public abstract NavigationCaseBuilder toViewId(java.lang.String toViewId)
Set the to-view-id of the current navigation case.
- Parameters:
toViewId- the to-view-id- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
toFlowDocumentId
public abstract NavigationCaseBuilder toFlowDocumentId(java.lang.String toFlowDocumentId)
Set the to-flow-document-id of the current navigation case.
- Parameters:
toFlowDocumentId- the to-flow-document-id- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
condition
public abstract NavigationCaseBuilder condition(java.lang.String condition)
Set the if of the current navigation case.
- Parameters:
condition- the- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
condition
public abstract NavigationCaseBuilder condition(javax.el.ValueExpression condition)
Set the if of the current navigation case.
- Parameters:
condition- the- Throws:
java.lang.NullPointerException- if any of the parameters arenull- Since:
- 2.2
-
redirect
public abstract NavigationCaseBuilder.RedirectBuilder redirect()
Create a redirect within this navigation case.
- Since:
- 2.2
-
-