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