|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.executor.jsf.FlowExecutionHolder
public class FlowExecutionHolder
A holder storing a reference to a flow execution and the key of that flow execution if it has been (or is about to be) managed in a repository.
Constructor Summary | |
---|---|
FlowExecutionHolder(FlowExecution flowExecution)
Creates a new flow execution holder for a flow execution that has not yet been placed in a repository. |
|
FlowExecutionHolder(FlowExecutionKey flowExecutionKey,
FlowExecution flowExecution,
FlowExecutionLock flowExecutionLock)
Creates a new flow execution holder for a flow execution that has been restored from a repository. |
Method Summary | |
---|---|
FlowExecution |
getFlowExecution()
Returns the flow execution. |
FlowExecutionKey |
getFlowExecutionKey()
Returns the continuation key. |
FlowExecutionLock |
getFlowExecutionLock()
Returns the flow execution lock |
ViewSelection |
getViewSelection()
Returns the view selected from the current flow execution request. |
void |
replaceWith(FlowExecution flowExecution)
Replace the current flow execution with the one provided. |
void |
setFlowExecutionKey(FlowExecutionKey key)
Sets the continuation key. |
void |
setFlowExecutionLock(FlowExecutionLock lock)
Sets the lock acquired on the flow execution |
void |
setViewSelection(ViewSelection viewSelection)
Sets the selected view from the current flow execution request. |
java.lang.String |
toString()
|
void |
unlockFlowExecutionIfNecessary()
Unlock the held flow execution if necessary. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlowExecutionHolder(FlowExecution flowExecution)
flowExecution
- the flow execution to holdpublic FlowExecutionHolder(FlowExecutionKey flowExecutionKey, FlowExecution flowExecution, FlowExecutionLock flowExecutionLock)
flowExecutionKey
- the continuation keyflowExecution
- the flow execution to holdflowExecutionLock
- the lock acquired on the flow executionMethod Detail |
---|
public FlowExecutionKey getFlowExecutionKey()
public void setFlowExecutionKey(FlowExecutionKey key)
public FlowExecution getFlowExecution()
public FlowExecutionLock getFlowExecutionLock()
public void setFlowExecutionLock(FlowExecutionLock lock)
lock
- the flow execution lockpublic ViewSelection getViewSelection()
public void setViewSelection(ViewSelection viewSelection)
viewSelection
- the view selectionpublic void replaceWith(FlowExecution flowExecution)
flowExecution
- the new "current" flow executionpublic void unlockFlowExecutionIfNecessary()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |