- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClientWindowFlowId(ClientWindow curWindow) Get theClientWindow's id and append "_" and the return fromFlow.getId().Return the immutable application unique identifier for the document in which the argument flow is defined.jakarta.el.MethodExpressionReturn theMethodExpressionthat must be called by the runtime as the last thing that happens before exiting this flow.getFlowCall(Flow targetFlow) Return theFlowCallNodethat represents calling thetargetFlowfrom this flow, ornulliftargetFlowcannot be reached from this flow.Return an immutable data structure containing all the flow call nodes declared for this flow.getId()Return the immutable id for this Flow.Return an immutable data structure containing the inbound parameters that have been declared for this flow.jakarta.el.MethodExpressionReturn theMethodExpressionthat must be called by the runtime immediately after activating anyFlowScopedbeans declared for this flow.Return an immutable data structure containing all the method call nodes declared for this flow.Return an unmodifiable view of the navigation cases within this flow.Return the genericFlowNodeby id, ornullif not found.Return an immutable data structure containing all of the return nodes declared for this flow.Return the immutable id for the default node that should be activated when this flow is entered.Return an immutable data structure containing all of the switch nodes declared for this flow.getViews()Return an immutable data structure containing all of the view nodes declared for this flow.inthashCode()voidinit(FacesContext context) voidsetFinalizer(jakarta.el.MethodExpression finalizer) voidvoidsetInitializer(jakarta.el.MethodExpression initializer) voidsetStartNodeId(String defaultNodeId)
-
Field Details
-
SYNTHESIZED_RETURN_CASE_FLOW
-
ABANDONED_FLOW
-
-
Constructor Details
-
FlowImpl
public FlowImpl()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getId
Description copied from class:FlowReturn the immutable id for this Flow. This must be unique within the defining document (such as an Application Configuration Resources file), but need not be unique within the entire application.
-
getDefiningDocumentId
Description copied from class:FlowReturn the immutable application unique identifier for the document in which the argument flow is defined.
- Specified by:
getDefiningDocumentIdin classFlow- Returns:
- the defining document id
-
setId
-
getStartNodeId
Description copied from class:FlowReturn the immutable id for the default node that should be activated when this flow is entered.
- Specified by:
getStartNodeIdin classFlow- Returns:
- the id of the start node
-
setStartNodeId
-
getFinalizer
public jakarta.el.MethodExpression getFinalizer()Description copied from class:FlowReturn the
MethodExpressionthat must be called by the runtime as the last thing that happens before exiting this flow. AnyFlowScopedbeans declared for this flow must remain in scope until after control returns from the method referenced by thisMethodExpression.- Specified by:
getFinalizerin classFlow- Returns:
- the
MethodExpresionfor the finalizer.
-
setFinalizer
public void setFinalizer(jakarta.el.MethodExpression finalizer) -
getInitializer
public jakarta.el.MethodExpression getInitializer()Description copied from class:FlowReturn the
MethodExpressionthat must be called by the runtime immediately after activating anyFlowScopedbeans declared for this flow.- Specified by:
getInitializerin classFlow- Returns:
- the
MethodExpresionfor the initializer.
-
setInitializer
public void setInitializer(jakarta.el.MethodExpression initializer) -
getInboundParameters
Description copied from class:FlowReturn an immutable data structure containing the inbound parameters that have been declared for this flow. See
FlowHandler.transition(jakarta.faces.context.FacesContext, jakarta.faces.flow.Flow, jakarta.faces.flow.Flow, jakarta.faces.flow.FlowCallNode, java.lang.String)for the specification of how these parameters are used. Inbound parameters are associated with a specific flow instance, while outbound parameters are associated with aFlowCallNodethat causes the transition to a new flow.- Specified by:
getInboundParametersin classFlow- Returns:
- the inbound parameters
-
_getInboundParameters
-
getViews
Description copied from class:FlowReturn an immutable data structure containing all of the view nodes declared for this flow.
-
_getViews
-
getReturns
Description copied from class:FlowReturn an immutable data structure containing all of the return nodes declared for this flow.
- Specified by:
getReturnsin classFlow- Returns:
- the return nodes for this flow.
-
_getReturns
-
getSwitches
Description copied from class:FlowReturn an immutable data structure containing all of the switch nodes declared for this flow.
- Specified by:
getSwitchesin classFlow- Returns:
- the switch nodes for this flow
-
_getSwitches
-
getFlowCalls
Description copied from class:FlowReturn an immutable data structure containing all the flow call nodes declared for this flow.
- Specified by:
getFlowCallsin classFlow- Returns:
- the flow call nodes for this flow
-
_getFlowCalls
-
getFlowCall
Description copied from class:FlowReturn the
FlowCallNodethat represents calling thetargetFlowfrom this flow, ornulliftargetFlowcannot be reached from this flow.- Specified by:
getFlowCallin classFlow- Parameters:
targetFlow- the flow for which theFlowCallNodeis to be returned- Returns:
- a
FlowCallNodefor the argument flow ornull
-
getMethodCalls
Description copied from class:FlowReturn an immutable data structure containing all the method call nodes declared for this flow.
- Specified by:
getMethodCallsin classFlow- Returns:
- the method call nodes for this flow
-
_getMethodCalls
-
getNode
Description copied from class:FlowReturn the generic
FlowNodeby id, ornullif not found. -
getClientWindowFlowId
Description copied from class:FlowGet the
ClientWindow's id and append "_" and the return fromFlow.getId(). Return the result.- Specified by:
getClientWindowFlowIdin classFlow- Parameters:
curWindow- the- Returns:
- the generated client window id for this flow.
-
init
-