|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.portal.portlets.GenericMVCContext
Context that holds all the data you want to transfer to your view. You populate this during your action handling.
This context also supports chaining of additional contexts. The initial context created by this object always has priority over an addtional chained objects. In short matching keys within the initial context will "hide" matching keys within the addtional context(s).
Constructor Summary | |
GenericMVCContext()
Creates a new instance of GenericMVCContext |
|
GenericMVCContext(java.util.Collection contexts)
Adds an existing Collection of contexts into this one. |
|
GenericMVCContext(org.apache.velocity.context.Context context)
Adds an existing context into this one. |
Method Summary | |
void |
addContext(org.apache.velocity.context.Context context)
Add an additional context to this one |
boolean |
containsKey(java.lang.Object key)
|
java.lang.Object |
get(java.lang.String key)
|
java.util.Collection |
getChainedContexts()
This Collection is "live" as it is the same Collection that maintains this Context's chained contexts. |
java.lang.Object[] |
getKeys()
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericMVCContext()
public GenericMVCContext(java.util.Collection contexts)
public GenericMVCContext(org.apache.velocity.context.Context context)
Method Detail |
public boolean containsKey(java.lang.Object key)
containsKey
in interface org.apache.velocity.context.Context
public java.lang.Object get(java.lang.String key)
get
in interface org.apache.velocity.context.Context
public java.lang.Object[] getKeys()
getKeys
in interface org.apache.velocity.context.Context
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in interface org.apache.velocity.context.Context
public java.lang.Object remove(java.lang.Object key)
remove
in interface org.apache.velocity.context.Context
public void addContext(org.apache.velocity.context.Context context)
public java.util.Collection getChainedContexts()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |