|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.flow.FlowHelper
public class FlowHelper
Provides the interface between the flow controller layer and the view layer. A view can obtain the context object sent by a flow script and the current web continuation, if any.
| Constructor Summary | |
|---|---|
FlowHelper()
|
|
| Method Summary | |
|---|---|
static Object |
getContextObject(Map objectModel)
Get the flow context object associated with the current request |
static WebContinuation |
getWebContinuation(Map objectModel)
Get the web continuation associated with the current request |
static void |
setContextObject(Map objectModel,
Object obj)
Set the flow context object associated with the current request |
static void |
setWebContinuation(Map objectModel,
WebContinuation kont)
Set the web continuation associated with the current request |
static Object |
unwrap(Object obj)
Deprecated. Use JavaScriptFlowHelper.unwrap(Object) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowHelper()
| Method Detail |
|---|
public static final Object getContextObject(Map objectModel)
objectModel - The Cocoon Environment's object model
public static final WebContinuation getWebContinuation(Map objectModel)
objectModel - The Cocoon Environment's object model
public static final void setWebContinuation(Map objectModel,
WebContinuation kont)
objectModel - The Cocoon Environment's object modelkont - The web continuation
public static final void setContextObject(Map objectModel,
Object obj)
objectModel - The Cocoon Environment's object modelobj - The context objectpublic static Object unwrap(Object obj)
JavaScriptFlowHelper.unwrap(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||