|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.session.WidgetCache
An instance of this class is used by components to cache the various widget models, across all the FormBeans.
| Constructor Summary | |
WidgetCache()
|
|
| Method Summary | |
void |
addModel(String fieldName,
WidgetModel model)
Adds a widget model to the cache. |
void |
clear()
Removes all widget models from the cache. |
WidgetModel |
getModel(String fieldName)
Returns a widget model for the input fieldName from the cache. |
WidgetModel |
removeModel(String fieldName)
Removes the widget model for the input fieldName from the cache. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WidgetCache()
| Method Detail |
public WidgetModel getModel(String fieldName)
fieldName - the field for which the model is to be retrieved.
public void addModel(String fieldName,
WidgetModel model)
fieldName - the field for which the model is to be cached.model - the model to be cached.public WidgetModel removeModel(String fieldName)
fieldName - the field for which the model is to be removed.
public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||