public class PortletApplicationMap extends AbstractMap<String,Object> implements Serializable
Map implementation representing the
PortletContext of a Portlet.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PortletApplicationMap(javax.portlet.PortletContext ctx)
Creates a new map object given the
PortletContext. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all entries from the Map and removes all attributes from the
portlet context.
|
Set<Map.Entry<String,Object>> |
entrySet()
Creates a Set of all portlet context attributes as well as context init
parameters.
|
Object |
get(Object key)
Returns the portlet context attribute or init parameter based on the
given key.
|
Object |
put(String key,
Object value)
Sets a portlet context attribute given a attribute name and value.
|
Object |
remove(Object key)
Removes the specified portlet context attribute.
|
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic PortletApplicationMap(javax.portlet.PortletContext ctx)
PortletContext.ctx - The portlet context.public void clear()
public Set<Map.Entry<String,Object>> entrySet()
public Object get(Object key)
public Object put(String key, Object value)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.