java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>TemplateDataMappublic class ActivityDataMap
extends java.util.HashMap<java.lang.String,java.lang.Object>
This class is generally not thread-safe. It is primarily designed for use in a single thread only.
| Modifier and Type | Field | Description |
|---|---|---|
protected Activity |
activity |
|
protected RequestAdapter |
requestAdapter |
| Constructor | Description |
|---|---|
ActivityDataMap(Activity activity) |
Instantiates a new ActivityDataMap.
|
ActivityDataMap(Activity activity,
boolean prefill) |
Instantiates a new ActivityDataMap.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
get(java.lang.Object key) |
|
java.lang.Object |
getActionResultWithoutCache(java.lang.String name) |
Returns the value of the named action's process result
without storing it in the cache.
|
java.lang.Object |
getAttributeWithoutCache(java.lang.String name) |
Returns the value of the named attribute from the request adapter
without storing it in the cache.
|
java.lang.Object |
getParameterWithoutCache(java.lang.String name) |
Returns the value of the request parameter from the request adapter
without storing it in the cache.
|
protected final Activity activity
protected RequestAdapter requestAdapter
public ActivityDataMap(Activity activity)
activity - the activitypublic ActivityDataMap(Activity activity, boolean prefill)
activity - the activityprefill - whether or not to pre-fill the datapublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Map<java.lang.String,java.lang.Object>get in class java.util.HashMap<java.lang.String,java.lang.Object>public java.lang.Object getParameterWithoutCache(java.lang.String name)
name - a String specifying the name of the parameterObject containing the value of the parameter,
or null if the parameter does not existRequestAdapter.setParameter(java.lang.String, java.lang.String)public java.lang.Object getAttributeWithoutCache(java.lang.String name)
name - a String specifying the name of the attributeObject containing the value of the attribute,
or null if the attribute does not existRequestAdapter.getAttribute(java.lang.String)public java.lang.Object getActionResultWithoutCache(java.lang.String name)
name - a String specifying the name of the actionObject containing the value of the action result,
or null if the action result does not existRequestAdapter.getAttribute(java.lang.String)Copyright © 2008–2018 The Aspectran Project. All rights reserved.