Package com.liferay.portlet
Class PortletSessionAttributeMap
- Author:
- Minhchau Dang, Shuyang Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.servlet.http.HttpSession
protected final String
-
Constructor Summary
ConstructorsConstructorDescriptionPortletSessionAttributeMap
(javax.servlet.http.HttpSession httpSession) PortletSessionAttributeMap
(javax.servlet.http.HttpSession httpSession, String scopePrefix) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) protected String
entrySet()
protected Enumeration<String>
getAttributeNames
(boolean removePrefix) boolean
isEmpty()
keySet()
void
int
size()
values()
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
httpSession
protected final javax.servlet.http.HttpSession httpSession -
scopePrefix
-
-
Constructor Details
-
PortletSessionAttributeMap
public PortletSessionAttributeMap(javax.servlet.http.HttpSession httpSession) -
PortletSessionAttributeMap
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object> - Overrides:
containsKey
in classAbstractMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object> - Overrides:
containsValue
in classAbstractMap<String,
Object>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
encodeKey
-
getAttributeNames
-