public class FlowBuilderImpl
extends jakarta.faces.flow.builder.FlowBuilder
| Constructor and Description |
|---|
FlowBuilderImpl(jakarta.faces.context.FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
FlowImpl |
_getFlow() |
jakarta.faces.flow.builder.FlowBuilder |
finalizer(jakarta.el.MethodExpression methodExpression)
A MethodExpression that will be invoked when the flow is exited. |
jakarta.faces.flow.builder.FlowBuilder |
finalizer(String methodExpression)
A MethodExpression that will be invoked when the flow is exited. |
jakarta.faces.flow.builder.FlowCallBuilder |
flowCallNode(String flowCallNodeId)
Define a flow call node. |
jakarta.faces.flow.Flow |
getFlow()
Called as the last step in flow definition, this method must perform any implementation specific initialization and
return the built |
jakarta.faces.flow.builder.FlowBuilder |
id(String definingDocumentId,
String flowId)
Set the defining document id and flow id of this flow. |
jakarta.faces.flow.builder.FlowBuilder |
inboundParameter(String name,
String value)
A parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow. |
jakarta.faces.flow.builder.FlowBuilder |
inboundParameter(String name,
jakarta.el.ValueExpression value)
A parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow. |
jakarta.faces.flow.builder.FlowBuilder |
initializer(jakarta.el.MethodExpression methodExpression)
A MethodExpression that will be invoked when the flow is entered. |
jakarta.faces.flow.builder.FlowBuilder |
initializer(String methodExpression)
A MethodExpression that will be invoked when the flow is entered. |
jakarta.faces.flow.builder.MethodCallBuilder |
methodCallNode(String methodCallNodeId)
Define a method call node. |
jakarta.faces.flow.builder.NavigationCaseBuilder |
navigationCase()
Define a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next. |
jakarta.faces.flow.builder.ReturnBuilder |
returnNode(String returnNodeId)
Define a return node. |
jakarta.faces.flow.builder.SwitchBuilder |
switchNode(String switchNodeId)
Define a particular list of cases that will be inspected in the order they are defined to determine where to go next in the flow graph. |
jakarta.faces.flow.builder.ViewBuilder |
viewNode(String viewNodeId,
String vdlDocumentId)
Define a view node in a flow graph. |
public FlowBuilderImpl(jakarta.faces.context.FacesContext context)
public jakarta.faces.flow.builder.NavigationCaseBuilder navigationCase()
jakarta.faces.flow.builder.FlowBuilderDefine a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next.
navigationCase in class jakarta.faces.flow.builder.FlowBuilderpublic jakarta.faces.flow.builder.ViewBuilder viewNode(String viewNodeId, String vdlDocumentId)
jakarta.faces.flow.builder.FlowBuilderDefine a view node in a flow graph.
viewNode in class jakarta.faces.flow.builder.FlowBuilderviewNodeId - Within the flow graph, the id of this view node. Must be unique among all nodes in this flow graph.vdlDocumentId - The fully qualified path to the view node within this flow.public jakarta.faces.flow.builder.SwitchBuilder switchNode(String switchNodeId)
jakarta.faces.flow.builder.FlowBuilderDefine a particular list of cases that will be inspected in the order they are defined to determine where to go next in the flow graph. If none of the cases match, the outcome from the default case is chosen.
switchNode in class jakarta.faces.flow.builder.FlowBuilderswitchNodeId - Within the flow graph, the id of this switch node. Must be unique among all nodes in this flow
graph.public jakarta.faces.flow.builder.ReturnBuilder returnNode(String returnNodeId)
jakarta.faces.flow.builder.FlowBuilderDefine a return node. This node will cause the specified outcome to be returned to the calling flow.
returnNode in class jakarta.faces.flow.builder.FlowBuilderreturnNodeId - Within the flow graph, the id of this return node. Must be unique among all nodes in this flow
graph.public jakarta.faces.flow.builder.MethodCallBuilder methodCallNode(String methodCallNodeId)
jakarta.faces.flow.builder.FlowBuilderDefine a method call node. This node will cause the specified method to be invoked, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.
methodCallNode in class jakarta.faces.flow.builder.FlowBuildermethodCallNodeId - Within the flow graph, the id of this method call node. Must be unique among all nodes in
this flow graph.public jakarta.faces.flow.builder.FlowCallBuilder flowCallNode(String flowCallNodeId)
jakarta.faces.flow.builder.FlowBuilderDefine a flow call node. This node will cause the specified flow to be called, passing parameters if necessary.
flowCallNode in class jakarta.faces.flow.builder.FlowBuilderflowCallNodeId - Within the flow graph, the id of this return node. Must be unique among all nodes in this flow
graph.public jakarta.faces.flow.builder.FlowBuilder id(String definingDocumentId, String flowId)
jakarta.faces.flow.builder.FlowBuilderSet the defining document id and flow id of this flow.
id in class jakarta.faces.flow.builder.FlowBuilderdefiningDocumentId - The defining document id of this flow, or the empty string if this flow does not need a
defining document id.flowId - the id of the flowpublic jakarta.faces.flow.builder.FlowBuilder initializer(jakarta.el.MethodExpression methodExpression)
jakarta.faces.flow.builder.FlowBuilderA MethodExpression that will be invoked when the flow is entered.
initializer in class jakarta.faces.flow.builder.FlowBuildermethodExpression - the expression to invoke, must reference a zero-argument method.public jakarta.faces.flow.builder.FlowBuilder initializer(String methodExpression)
jakarta.faces.flow.builder.FlowBuilderA MethodExpression that will be invoked when the flow is entered.
initializer in class jakarta.faces.flow.builder.FlowBuildermethodExpression - the expression to invoke, must reference a zero-argument method.public jakarta.faces.flow.builder.FlowBuilder finalizer(jakarta.el.MethodExpression methodExpression)
jakarta.faces.flow.builder.FlowBuilderA MethodExpression that will be invoked when the flow is exited.
finalizer in class jakarta.faces.flow.builder.FlowBuildermethodExpression - the expression to invoke, must reference a zero-argument method.public jakarta.faces.flow.builder.FlowBuilder finalizer(String methodExpression)
jakarta.faces.flow.builder.FlowBuilderA MethodExpression that will be invoked when the flow is exited.
finalizer in class jakarta.faces.flow.builder.FlowBuildermethodExpression - the expression to invoke, must reference a zero-argument method.public jakarta.faces.flow.builder.FlowBuilder inboundParameter(String name, jakarta.el.ValueExpression value)
jakarta.faces.flow.builder.FlowBuilderA parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow.
inboundParameter in class jakarta.faces.flow.builder.FlowBuildername - the parameter namevalue - the ValueExpression to populate with the inbound value when the flow is called.public jakarta.faces.flow.builder.FlowBuilder inboundParameter(String name, String value)
jakarta.faces.flow.builder.FlowBuilderA parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow.
inboundParameter in class jakarta.faces.flow.builder.FlowBuildername - the parameter namevalue - the ValueExpression String to populate with the inbound value when the flow is called.public jakarta.faces.flow.Flow getFlow()
jakarta.faces.flow.builder.FlowBuilder
Called as the last step in flow definition, this method must perform any implementation specific initialization and
return the built Flow. If called more than one time during a given flow building process, the second and
subsequent invocations must take no action and return the built flow.
getFlow in class jakarta.faces.flow.builder.FlowBuilderFlowpublic FlowImpl _getFlow()
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.