org.springframework.webflow.executor.jsf
Class FlowExecutionHolder

java.lang.Object
  extended by org.springframework.webflow.executor.jsf.FlowExecutionHolder
All Implemented Interfaces:
java.io.Serializable

public class FlowExecutionHolder
extends java.lang.Object
implements java.io.Serializable

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.

Author:
Keith Donald
See Also:
Serialized Form

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)
          Creates a new flow execution holder.
 
Method Summary
 FlowExecution getFlowExecution()
          Returns the flow execution.
 FlowExecutionKey getFlowExecutionKey()
          Returns the continuation key.
 ViewSelection getViewSelection()
           
 void markNeedsSave()
           
 boolean needsSave()
           
 void setFlowExecutionKey(FlowExecutionKey continuationKey)
          Sets the continuation key.
 void setViewSelection(ViewSelection viewSelection)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowExecutionHolder

public FlowExecutionHolder(FlowExecution flowExecution)
Creates a new flow execution holder for a flow execution that has not yet been placed in a repository.

Parameters:
flowExecution - the flow execution to hold

FlowExecutionHolder

public FlowExecutionHolder(FlowExecutionKey flowExecutionKey,
                           FlowExecution flowExecution)
Creates a new flow execution holder.

Parameters:
flowExecutionKey - the continuation key
flowExecution - the flow execution to hold
Method Detail

getFlowExecutionKey

public FlowExecutionKey getFlowExecutionKey()
Returns the continuation key.


setFlowExecutionKey

public void setFlowExecutionKey(FlowExecutionKey continuationKey)
Sets the continuation key.


getFlowExecution

public FlowExecution getFlowExecution()
Returns the flow execution.


getViewSelection

public ViewSelection getViewSelection()

setViewSelection

public void setViewSelection(ViewSelection viewSelection)

needsSave

public boolean needsSave()

markNeedsSave

public void markNeedsSave()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2006. All Rights Reserved.