|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.flow.Flow
public class Flow
Flow is the runtime representation of a Faces Flow. Once placed into service by the runtime, an instance of this class is immutable. The implementation must be thread-safe because instances will be shared across all usages of the flow within the application.
Constructor Summary | |
---|---|
Flow()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getClientWindowFlowId(ClientWindow curWindow)
Obtain the current |
javax.el.MethodExpression |
getFinalizer()
|
String |
getId()
Return the immutable id for this Flow. |
javax.el.MethodExpression |
getInitializer()
|
FlowNode |
getNode(String viewNodeId)
|
Map<String,NavigationCase> |
getReturns(FacesContext context)
|
String |
getStartNodeId()
Return the immutable id for the default node that should be activated when this flow is entered. |
Map<String,List<NavigationCase>> |
getSwitches(FacesContext context)
|
List<ViewNode> |
getViews()
|
int |
hashCode()
|
void |
setFinalizer(javax.el.MethodExpression finalizer)
|
void |
setId(String id)
This setter will likely be moved from the public API into the implementation. |
void |
setInitializer(javax.el.MethodExpression initializer)
|
void |
setStartNodeId(String defaultNodeId)
This setter will likely be moved from the public API into the implementation. |
void |
setViews(List<ViewNode> views)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Flow()
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getId()
Return the immutable id for this Flow. This must be unique within a flow definition, but need not be unique within the entire application.
public void setId(String id)
This setter will likely be moved from the public API into the implementation.
public String getStartNodeId()
Return the immutable id for the default node that should be activated when this flow is entered.
public void setStartNodeId(String defaultNodeId)
This setter will likely be moved from the public API into the implementation.
public javax.el.MethodExpression getFinalizer()
public void setFinalizer(javax.el.MethodExpression finalizer)
public javax.el.MethodExpression getInitializer()
public void setInitializer(javax.el.MethodExpression initializer)
public List<ViewNode> getViews()
public void setViews(List<ViewNode> views)
public Map<String,NavigationCase> getReturns(FacesContext context)
public Map<String,List<NavigationCase>> getSwitches(FacesContext context)
public FlowNode getNode(String viewNodeId)
public String getClientWindowFlowId(ClientWindow curWindow)
Obtain the current ClientWindow
from the ExternalContext
. Get the window's id and
append "_" and the return from getId()
. Return the result.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |