org.zkoss.spring.webflow.context.servlet
Class ZkFlowContextManager

java.lang.Object
  extended by org.zkoss.spring.webflow.context.servlet.ZkFlowContextManager

public class ZkFlowContextManager
extends java.lang.Object

Utility class that manage the flow context (flow id, flow execution key, flow request URI, flow data context)

Since:
1.1
Author:
henrichen

Field Summary
static java.lang.String FLOW_CONTEXT
           
static java.lang.String FLOW_EXECUTION_KEY
           
static java.lang.String FLOW_ID
           
static java.lang.String FLOW_POPUP_WINDOW
           
static java.lang.String FLOW_REQUEST_URI
           
static java.lang.String SELF
           
static java.lang.String WRONG_VALUE
           
 
Constructor Summary
ZkFlowContextManager()
           
 
Method Summary
static java.lang.String getFlowExecutionKey(org.zkoss.zk.ui.Execution exec)
           
static java.lang.String getFlowId(org.zkoss.zk.ui.Execution exec)
           
static org.springframework.webflow.execution.RequestContext getFlowRequestContext(org.zkoss.zk.ui.Execution exec)
           
static java.lang.String getFlowRequestURI(org.zkoss.zk.ui.Execution exec)
           
static org.zkoss.zul.Window getPopupWindow(org.zkoss.zk.ui.Execution exec)
           
static org.zkoss.zk.ui.Component getSelf(org.zkoss.zk.ui.Execution exec)
           
static java.lang.Exception getWrongValueException(org.zkoss.zk.ui.Execution exec)
           
static void setSelf(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Component comp)
           
static void setWrongValueException(org.zkoss.zk.ui.Execution exec, java.lang.Exception ex)
           
static void storeFlowContext(org.zkoss.zk.ui.Execution exec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOW_ID

public static final java.lang.String FLOW_ID
See Also:
Constant Field Values

FLOW_EXECUTION_KEY

public static final java.lang.String FLOW_EXECUTION_KEY
See Also:
Constant Field Values

FLOW_REQUEST_URI

public static final java.lang.String FLOW_REQUEST_URI
See Also:
Constant Field Values

FLOW_CONTEXT

public static final java.lang.String FLOW_CONTEXT
See Also:
Constant Field Values

FLOW_POPUP_WINDOW

public static final java.lang.String FLOW_POPUP_WINDOW
See Also:
Constant Field Values

SELF

public static final java.lang.String SELF
See Also:
Constant Field Values

WRONG_VALUE

public static final java.lang.String WRONG_VALUE
See Also:
Constant Field Values
Constructor Detail

ZkFlowContextManager

public ZkFlowContextManager()
Method Detail

setWrongValueException

public static void setWrongValueException(org.zkoss.zk.ui.Execution exec,
                                          java.lang.Exception ex)

getWrongValueException

public static java.lang.Exception getWrongValueException(org.zkoss.zk.ui.Execution exec)

setSelf

public static void setSelf(org.zkoss.zk.ui.Execution exec,
                           org.zkoss.zk.ui.Component comp)

getSelf

public static org.zkoss.zk.ui.Component getSelf(org.zkoss.zk.ui.Execution exec)

getFlowId

public static java.lang.String getFlowId(org.zkoss.zk.ui.Execution exec)

getFlowExecutionKey

public static java.lang.String getFlowExecutionKey(org.zkoss.zk.ui.Execution exec)

getFlowRequestURI

public static java.lang.String getFlowRequestURI(org.zkoss.zk.ui.Execution exec)

getFlowRequestContext

public static org.springframework.webflow.execution.RequestContext getFlowRequestContext(org.zkoss.zk.ui.Execution exec)

getPopupWindow

public static org.zkoss.zul.Window getPopupWindow(org.zkoss.zk.ui.Execution exec)

storeFlowContext

public static void storeFlowContext(org.zkoss.zk.ui.Execution exec)


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.