public class FlowImpl extends jakarta.faces.flow.Flow implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static jakarta.faces.flow.Flow |
ABANDONED_FLOW |
static jakarta.faces.flow.Flow |
SYNTHESIZED_RETURN_CASE_FLOW |
| Constructor and Description |
|---|
FlowImpl() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,jakarta.faces.flow.FlowCallNode> |
_getFlowCalls() |
Map<String,jakarta.faces.flow.Parameter> |
_getInboundParameters() |
List<jakarta.faces.flow.MethodCallNode> |
_getMethodCalls() |
Map<String,Set<jakarta.faces.application.NavigationCase>> |
_getNavigationCases() |
Map<String,jakarta.faces.flow.ReturnNode> |
_getReturns() |
Map<String,jakarta.faces.flow.SwitchNode> |
_getSwitches() |
List<jakarta.faces.flow.ViewNode> |
_getViews() |
boolean |
equals(Object obj) |
String |
getClientWindowFlowId(jakarta.faces.lifecycle.ClientWindow curWindow)
Get the |
String |
getDefiningDocumentId()
Return the immutable application unique identifier for the document in which the argument flow is defined. |
jakarta.el.MethodExpression |
getFinalizer()
Return the |
jakarta.faces.flow.FlowCallNode |
getFlowCall(jakarta.faces.flow.Flow targetFlow)
Return the |
Map<String,jakarta.faces.flow.FlowCallNode> |
getFlowCalls()
Return an immutable data structure containing all the flow call nodes declared for this flow. |
String |
getId()
Return the immutable id for this Flow. |
Map<String,jakarta.faces.flow.Parameter> |
getInboundParameters()
Return an immutable data structure containing the inbound parameters that have been declared for this flow. |
jakarta.el.MethodExpression |
getInitializer()
Return the |
List<jakarta.faces.flow.MethodCallNode> |
getMethodCalls()
Return an immutable data structure containing all the method call nodes declared for this flow. |
Map<String,Set<jakarta.faces.application.NavigationCase>> |
getNavigationCases()
Return an unmodifiable view of the navigation cases within this flow. |
jakarta.faces.flow.FlowNode |
getNode(String nodeId)
Return the generic |
Map<String,jakarta.faces.flow.ReturnNode> |
getReturns()
Return an immutable data structure containing all of the return nodes declared for this flow. |
String |
getStartNodeId()
Return the immutable id for the default node that should be activated when this flow is entered. |
Map<String,jakarta.faces.flow.SwitchNode> |
getSwitches()
Return an immutable data structure containing all of the switch nodes declared for this flow. |
List<jakarta.faces.flow.ViewNode> |
getViews()
Return an immutable data structure containing all of the view nodes declared for this flow. |
int |
hashCode() |
void |
init(jakarta.faces.context.FacesContext context) |
void |
setFinalizer(jakarta.el.MethodExpression finalizer) |
void |
setId(String definingDocumentId,
String id) |
void |
setInitializer(jakarta.el.MethodExpression initializer) |
void |
setStartNodeId(String defaultNodeId) |
public static final jakarta.faces.flow.Flow SYNTHESIZED_RETURN_CASE_FLOW
public static final jakarta.faces.flow.Flow ABANDONED_FLOW
public String getId()
jakarta.faces.flow.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.
getId in class jakarta.faces.flow.Flowpublic String getDefiningDocumentId()
jakarta.faces.flow.FlowReturn the immutable application unique identifier for the document in which the argument flow is defined.
getDefiningDocumentId in class jakarta.faces.flow.Flowpublic String getStartNodeId()
jakarta.faces.flow.FlowReturn the immutable id for the default node that should be activated when this flow is entered.
getStartNodeId in class jakarta.faces.flow.Flowpublic void setStartNodeId(String defaultNodeId)
public jakarta.el.MethodExpression getFinalizer()
jakarta.faces.flow.Flow
Return the MethodExpression that must be called by the runtime as the last thing that happens before exiting
this flow. Any FlowScoped beans declared for this flow must remain in scope until after control returns from
the method referenced by this MethodExpression.
getFinalizer in class jakarta.faces.flow.FlowMethodExpresion for the finalizer.public void setFinalizer(jakarta.el.MethodExpression finalizer)
public jakarta.el.MethodExpression getInitializer()
jakarta.faces.flow.Flow
Return the MethodExpression that must be called by the runtime immediately after activating any
FlowScoped beans declared for this flow.
getInitializer in class jakarta.faces.flow.FlowMethodExpresion for the initializer.public void setInitializer(jakarta.el.MethodExpression initializer)
public Map<String,jakarta.faces.flow.Parameter> getInboundParameters()
jakarta.faces.flow.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 a FlowCallNode that
causes the transition to a new flow.
getInboundParameters in class jakarta.faces.flow.Flowpublic List<jakarta.faces.flow.ViewNode> getViews()
jakarta.faces.flow.FlowReturn an immutable data structure containing all of the view nodes declared for this flow.
getViews in class jakarta.faces.flow.Flowpublic List<jakarta.faces.flow.ViewNode> _getViews()
public Map<String,jakarta.faces.flow.ReturnNode> getReturns()
jakarta.faces.flow.FlowReturn an immutable data structure containing all of the return nodes declared for this flow.
getReturns in class jakarta.faces.flow.Flowpublic Map<String,jakarta.faces.flow.SwitchNode> getSwitches()
jakarta.faces.flow.FlowReturn an immutable data structure containing all of the switch nodes declared for this flow.
getSwitches in class jakarta.faces.flow.Flowpublic Map<String,jakarta.faces.flow.FlowCallNode> getFlowCalls()
jakarta.faces.flow.FlowReturn an immutable data structure containing all the flow call nodes declared for this flow.
getFlowCalls in class jakarta.faces.flow.Flowpublic Map<String,Set<jakarta.faces.application.NavigationCase>> getNavigationCases()
jakarta.faces.flow.FlowReturn an unmodifiable view of the navigation cases within this flow.
getNavigationCases in class jakarta.faces.flow.Flowpublic Map<String,Set<jakarta.faces.application.NavigationCase>> _getNavigationCases()
public jakarta.faces.flow.FlowCallNode getFlowCall(jakarta.faces.flow.Flow targetFlow)
jakarta.faces.flow.Flow
Return the FlowCallNode that represents calling the targetFlow from this flow, or null if
targetFlow cannot be reached from this flow.
getFlowCall in class jakarta.faces.flow.FlowtargetFlow - the flow for which the FlowCallNode is to be returnedFlowCallNode for the argument flow or nullpublic List<jakarta.faces.flow.MethodCallNode> getMethodCalls()
jakarta.faces.flow.FlowReturn an immutable data structure containing all the method call nodes declared for this flow.
getMethodCalls in class jakarta.faces.flow.Flowpublic List<jakarta.faces.flow.MethodCallNode> _getMethodCalls()
public jakarta.faces.flow.FlowNode getNode(String nodeId)
jakarta.faces.flow.Flow
Return the generic FlowNode by id, or null if not found.
getNode in class jakarta.faces.flow.FlownodeId - the node id for which the FlowNode is to be returnedFlowNode or nullpublic String getClientWindowFlowId(jakarta.faces.lifecycle.ClientWindow curWindow)
jakarta.faces.flow.Flow
Get the ClientWindow's id and append "_" and the return from Flow.getId(). Return the result.
getClientWindowFlowId in class jakarta.faces.flow.FlowcurWindow - thepublic void init(jakarta.faces.context.FacesContext context)
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.