- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getClientWindowFlowId
(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.MethodExpression
Return theMethodExpression
that must be called by the runtime as the last thing that happens before exiting this flow.getFlowCall
(Flow targetFlow) Return theFlowCallNode
that represents calling thetargetFlow
from this flow, ornull
iftargetFlow
cannot 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.MethodExpression
Return theMethodExpression
that must be called by the runtime immediately after activating anyFlowScoped
beans 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 genericFlowNode
by id, ornull
if 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.int
hashCode()
void
init
(FacesContext context) void
setFinalizer
(jakarta.el.MethodExpression finalizer) void
void
setInitializer
(jakarta.el.MethodExpression initializer) void
setStartNodeId
(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:Flow
Return 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:Flow
Return the immutable application unique identifier for the document in which the argument flow is defined.
- Specified by:
getDefiningDocumentId
in classFlow
- Returns:
- the defining document id
-
setId
-
getStartNodeId
Description copied from class:Flow
Return the immutable id for the default node that should be activated when this flow is entered.
- Specified by:
getStartNodeId
in classFlow
- Returns:
- the id of the start node
-
setStartNodeId
-
getFinalizer
public jakarta.el.MethodExpression getFinalizer()Description copied from class:Flow
Return the
MethodExpression
that must be called by the runtime as the last thing that happens before exiting this flow. AnyFlowScoped
beans declared for this flow must remain in scope until after control returns from the method referenced by thisMethodExpression
.- Specified by:
getFinalizer
in classFlow
- Returns:
- the
MethodExpresion
for the finalizer.
-
setFinalizer
public void setFinalizer(jakarta.el.MethodExpression finalizer) -
getInitializer
public jakarta.el.MethodExpression getInitializer()Description copied from class:Flow
Return the
MethodExpression
that must be called by the runtime immediately after activating anyFlowScoped
beans declared for this flow.- Specified by:
getInitializer
in classFlow
- Returns:
- the
MethodExpresion
for the initializer.
-
setInitializer
public void setInitializer(jakarta.el.MethodExpression initializer) -
getInboundParameters
Description copied from class:Flow
Return 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 aFlowCallNode
that causes the transition to a new flow.- Specified by:
getInboundParameters
in classFlow
- Returns:
- the inbound parameters
-
_getInboundParameters
-
getViews
Description copied from class:Flow
Return an immutable data structure containing all of the view nodes declared for this flow.
-
_getViews
-
getReturns
Description copied from class:Flow
Return an immutable data structure containing all of the return nodes declared for this flow.
- Specified by:
getReturns
in classFlow
- Returns:
- the return nodes for this flow.
-
_getReturns
-
getSwitches
Description copied from class:Flow
Return an immutable data structure containing all of the switch nodes declared for this flow.
- Specified by:
getSwitches
in classFlow
- Returns:
- the switch nodes for this flow
-
_getSwitches
-
getFlowCalls
Description copied from class:Flow
Return an immutable data structure containing all the flow call nodes declared for this flow.
- Specified by:
getFlowCalls
in classFlow
- Returns:
- the flow call nodes for this flow
-
_getFlowCalls
-
getFlowCall
Description copied from class:Flow
Return the
FlowCallNode
that represents calling thetargetFlow
from this flow, ornull
iftargetFlow
cannot be reached from this flow.- Specified by:
getFlowCall
in classFlow
- Parameters:
targetFlow
- the flow for which theFlowCallNode
is to be returned- Returns:
- a
FlowCallNode
for the argument flow ornull
-
getMethodCalls
Description copied from class:Flow
Return an immutable data structure containing all the method call nodes declared for this flow.
- Specified by:
getMethodCalls
in classFlow
- Returns:
- the method call nodes for this flow
-
_getMethodCalls
-
getNode
Description copied from class:Flow
Return the generic
FlowNode
by id, ornull
if not found. -
getClientWindowFlowId
Description copied from class:Flow
Get the
ClientWindow
's id and append "_" and the return fromFlow.getId()
. Return the result.- Specified by:
getClientWindowFlowId
in classFlow
- Parameters:
curWindow
- the- Returns:
- the generated client window id for this flow.
-
init
-