|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.util.map.AbstractPropertyMap<String>
com.liferay.faces.util.context.map.JavaScriptMap
FacesRequestContext.addScript(com.liferay.faces.util.client.Script) instead.
@Deprecated public class JavaScriptMap
This class serves as a layer of abstraction for a Map of strings, each representing a separate fragment of
JavaScript. If ICEfaces is detected, then the implementation delegates to the ICEfaces org.icefaces.util.JavaScriptRunner so that the ICEfaces DOMPartialViewContext class can have a chance to render
JavaScript fragments. Otherwise, the implementation stores the map as a request attribute.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
JavaScriptMap()
Deprecated. |
|
| Method Summary | |
|---|---|
protected AbstractPropertyMapEntry<String> |
createPropertyMapEntry(String name)
Deprecated. |
protected String |
getProperty(String name)
Deprecated. |
protected Enumeration<String> |
getPropertyNames()
Deprecated. |
protected Map<String,String> |
getRequestAttribute()
Deprecated. |
String |
put(String key,
String value)
Deprecated. Call FacesRequestContext.addScript(com.liferay.faces.util.client.Script) instead. |
void |
putAll(Map<? extends String,? extends String> map)
Deprecated. Call FacesRequestContext.addScript(com.liferay.faces.util.client.Script) instead. |
String |
remove(Object key)
Deprecated. No replacement available. |
protected void |
removeProperty(String name)
Deprecated. |
protected void |
setProperty(String name,
String value)
Deprecated. |
| Methods inherited from class com.liferay.faces.util.map.AbstractPropertyMap |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public JavaScriptMap()
| Method Detail |
|---|
@Deprecated
public String put(String key,
String value)
FacesRequestContext.addScript(com.liferay.faces.util.client.Script) instead.
put in interface Map<String,String>put in class AbstractPropertyMap<String>@Deprecated public void putAll(Map<? extends String,? extends String> map)
FacesRequestContext.addScript(com.liferay.faces.util.client.Script) instead.
putAll in interface Map<String,String>putAll in class AbstractPropertyMap<String>@Deprecated public String remove(Object key)
remove in interface Map<String,String>remove in class AbstractPropertyMap<String>protected AbstractPropertyMapEntry<String> createPropertyMapEntry(String name)
createPropertyMapEntry in class AbstractPropertyMap<String>protected void removeProperty(String name)
removeProperty in class AbstractPropertyMap<String>protected String getProperty(String name)
getProperty in class AbstractPropertyMap<String>
protected void setProperty(String name,
String value)
setProperty in class AbstractPropertyMap<String>protected Enumeration<String> getPropertyNames()
getPropertyNames in class AbstractPropertyMap<String>protected Map<String,String> getRequestAttribute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||