org.apache.myfaces.flow
Class FlowImpl

java.lang.Object
  extended by javax.faces.flow.Flow
      extended by org.apache.myfaces.flow.FlowImpl
All Implemented Interfaces:
Freezable

public class FlowImpl
extends Flow
implements Freezable

Since:
2.2
Author:
Leonardo Uribe

Constructor Summary
FlowImpl()
           
 
Method Summary
 void addMethodCall(MethodCallNode value)
           
 void addNavigationCase(NavigationCase navigationCase)
           
 void addNavigationCases(String fromViewId, Set<NavigationCase> navigationCases)
           
 void addView(ViewNode value)
           
 void freeze()
          Call this method when the object will be made available to the runtime
 String getClientWindowFlowId(ClientWindow curWindow)
           
 String getDefiningDocumentId()
           
 javax.el.MethodExpression getFinalizer()
           
 FlowCallNode getFlowCall(Flow targetFlow)
           
 Map<String,FlowCallNode> getFlowCalls()
           
 String getId()
           
 Map<String,Parameter> getInboundParameters()
           
 javax.el.MethodExpression getInitializer()
           
 List<MethodCallNode> getMethodCalls()
           
 Map<String,Set<NavigationCase>> getNavigationCases()
           
 FlowNode getNode(String nodeId)
           
 Map<String,ReturnNode> getReturns()
           
 String getStartNodeId()
           
 Map<String,SwitchNode> getSwitches()
           
 List<ViewNode> getViews()
           
 void putFlowCall(String key, FlowCallNode value)
           
 void putInboundParameter(String key, Parameter value)
           
 void putReturn(String key, ReturnNode value)
           
 void putSwitch(String key, SwitchNode value)
           
 void removeNavigationCase(NavigationCase navigationCase)
           
 void setDefiningDocumentId(String definingDocumentId)
           
 void setFinalizer(javax.el.MethodExpression finalizer)
           
 void setId(String id)
           
 void setInitializer(javax.el.MethodExpression initializer)
           
 void setStartNodeId(String startNodeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowImpl

public FlowImpl()
Method Detail

freeze

public void freeze()
Description copied from interface: Freezable
Call this method when the object will be made available to the runtime

Specified by:
freeze in interface Freezable

getClientWindowFlowId

public String getClientWindowFlowId(ClientWindow curWindow)
Specified by:
getClientWindowFlowId in class Flow

getDefiningDocumentId

public String getDefiningDocumentId()
Specified by:
getDefiningDocumentId in class Flow

setDefiningDocumentId

public void setDefiningDocumentId(String definingDocumentId)

getId

public String getId()
Specified by:
getId in class Flow

setId

public void setId(String id)

getInitializer

public javax.el.MethodExpression getInitializer()
Specified by:
getInitializer in class Flow

setInitializer

public void setInitializer(javax.el.MethodExpression initializer)

getFinalizer

public javax.el.MethodExpression getFinalizer()
Specified by:
getFinalizer in class Flow

setFinalizer

public void setFinalizer(javax.el.MethodExpression finalizer)

getStartNodeId

public String getStartNodeId()
Specified by:
getStartNodeId in class Flow

setStartNodeId

public void setStartNodeId(String startNodeId)

getInboundParameters

public Map<String,Parameter> getInboundParameters()
Specified by:
getInboundParameters in class Flow

putInboundParameter

public void putInboundParameter(String key,
                                Parameter value)

getFlowCalls

public Map<String,FlowCallNode> getFlowCalls()
Specified by:
getFlowCalls in class Flow

putFlowCall

public void putFlowCall(String key,
                        FlowCallNode value)

getMethodCalls

public List<MethodCallNode> getMethodCalls()
Specified by:
getMethodCalls in class Flow

addMethodCall

public void addMethodCall(MethodCallNode value)

getReturns

public Map<String,ReturnNode> getReturns()
Specified by:
getReturns in class Flow

putReturn

public void putReturn(String key,
                      ReturnNode value)

getSwitches

public Map<String,SwitchNode> getSwitches()
Specified by:
getSwitches in class Flow

putSwitch

public void putSwitch(String key,
                      SwitchNode value)

getViews

public List<ViewNode> getViews()
Specified by:
getViews in class Flow

addView

public void addView(ViewNode value)

getFlowCall

public FlowCallNode getFlowCall(Flow targetFlow)
Specified by:
getFlowCall in class Flow

getNode

public FlowNode getNode(String nodeId)
Specified by:
getNode in class Flow

addNavigationCases

public void addNavigationCases(String fromViewId,
                               Set<NavigationCase> navigationCases)

addNavigationCase

public void addNavigationCase(NavigationCase navigationCase)

removeNavigationCase

public void removeNavigationCase(NavigationCase navigationCase)

getNavigationCases

public Map<String,Set<NavigationCase>> getNavigationCases()
Specified by:
getNavigationCases in class Flow


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.