Liferay 6.2-ce-ga5

com.liferay.portlet
Class PortletSessionAttributeMap

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.liferay.portlet.PortletSessionAttributeMap
All Implemented Interfaces:
Map<String,Object>

public class PortletSessionAttributeMap
extends AbstractMap<String,Object>


Nested Class Summary
protected static class PortletSessionAttributeMap.AttributeNameMapper
           
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  String scopePrefix
           
protected  javax.servlet.http.HttpSession session
           
 
Constructor Summary
PortletSessionAttributeMap(javax.servlet.http.HttpSession session)
           
PortletSessionAttributeMap(javax.servlet.http.HttpSession session, String scopePrefix)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
protected  String encodeKey(String key)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
protected  Enumeration<String> getAttributeNames(boolean removePrefix)
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,?> map)
           
 Object remove(Object key)
           
 int size()
           
 Collection<Object> 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
 

Field Detail

scopePrefix

protected final String scopePrefix

session

protected final javax.servlet.http.HttpSession session
Constructor Detail

PortletSessionAttributeMap

public PortletSessionAttributeMap(javax.servlet.http.HttpSession session)

PortletSessionAttributeMap

public PortletSessionAttributeMap(javax.servlet.http.HttpSession session,
                                  String scopePrefix)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class AbstractMap<String,Object>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Object>
Overrides:
containsKey in class AbstractMap<String,Object>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Object>
Overrides:
containsValue in class AbstractMap<String,Object>

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>
Specified by:
entrySet in class AbstractMap<String,Object>

get

public Object get(Object key)
Specified by:
get in interface Map<String,Object>
Overrides:
get in class AbstractMap<String,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>
Overrides:
isEmpty in class AbstractMap<String,Object>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>
Overrides:
keySet in class AbstractMap<String,Object>

put

public Object put(String key,
                  Object value)
Specified by:
put in interface Map<String,Object>
Overrides:
put in class AbstractMap<String,Object>

putAll

public void putAll(Map<? extends String,?> map)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class AbstractMap<String,Object>

remove

public Object remove(Object key)
Specified by:
remove in interface Map<String,Object>
Overrides:
remove in class AbstractMap<String,Object>

size

public int size()
Specified by:
size in interface Map<String,Object>
Overrides:
size in class AbstractMap<String,Object>

values

public Collection<Object> values()
Specified by:
values in interface Map<String,Object>
Overrides:
values in class AbstractMap<String,Object>

encodeKey

protected String encodeKey(String key)

getAttributeNames

protected Enumeration<String> getAttributeNames(boolean removePrefix)

Liferay 6.2-ce-ga5