org.apache.myfaces.webapp.filter.portlet
Class SessionMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.apache.myfaces.webapp.filter.servlet.AbstractAttributeMap
          extended by org.apache.myfaces.webapp.filter.portlet.SessionMap
All Implemented Interfaces:
Map

public class SessionMap
extends AbstractAttributeMap

Portlet scope PortletSession attibutes as Map.

NOTE: This class was copied from myfaces impl org.apache.myfaces.context.portlet and it is used by TomahawkFacesContextWrapper. By that reason, it could change in the future.

Since:
1.1.7
Version:
$Revision: 691871 $ $Date: 2008-09-03 23:32:08 -0500 (Wed, 03 Sep 2008) $
Author:
Stan Silvert (latest modification by $Author: lu4242 $)

Nested Class Summary
 
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>
 
Method Summary
 void clear()
           
protected  Object getAttribute(String key)
           
protected  Enumeration getAttributeNames()
           
 void putAll(Map t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, Object value)
           
 
Methods inherited from class org.apache.myfaces.webapp.filter.servlet.AbstractAttributeMap
containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, 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
 

Method Detail

getAttribute

protected Object getAttribute(String key)
Specified by:
getAttribute in class AbstractAttributeMap

setAttribute

protected void setAttribute(String key,
                            Object value)
Specified by:
setAttribute in class AbstractAttributeMap

removeAttribute

protected void removeAttribute(String key)
Specified by:
removeAttribute in class AbstractAttributeMap

getAttributeNames

protected Enumeration getAttributeNames()
Specified by:
getAttributeNames in class AbstractAttributeMap

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map
Overrides:
putAll in class AbstractAttributeMap

clear

public void clear()
Specified by:
clear in interface Map
Overrides:
clear in class AbstractAttributeMap


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.