com.sdm.quasar.client.jsf.dialog.services.impl
Class DefaultHttpSessionDataService

java.lang.Object
  extended bycom.sdm.quasar.client.jsf.dialog.services.impl.DefaultHttpSessionDataService
All Implemented Interfaces:
HttpSessionDataService, Service

public class DefaultHttpSessionDataService
extends java.lang.Object
implements HttpSessionDataService


Constructor Summary
DefaultHttpSessionDataService()
           
 
Method Summary
 java.util.Enumeration getHttpSessionKeys()
           
 java.lang.Object getValueFromHttpSession(java.lang.String key)
          Reads an attribute from the HTTP session
 void removeFromHttpSession(java.lang.String key)
          Removes an attribute from the HTTP session
 void setValueToHttpSession(java.lang.String key, java.lang.Object value)
          Puts an attribute to the HTTP session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpSessionDataService

public DefaultHttpSessionDataService()
Method Detail

getValueFromHttpSession

public java.lang.Object getValueFromHttpSession(java.lang.String key)
Description copied from interface: HttpSessionDataService
Reads an attribute from the HTTP session

Specified by:
getValueFromHttpSession in interface HttpSessionDataService
Parameters:
key - the key of the attribute
Returns:
the value of the attribute

setValueToHttpSession

public void setValueToHttpSession(java.lang.String key,
                                  java.lang.Object value)
Description copied from interface: HttpSessionDataService
Puts an attribute to the HTTP session

Specified by:
setValueToHttpSession in interface HttpSessionDataService
Parameters:
key - the key of the attribute
value - the value of the attribute

getHttpSessionKeys

public java.util.Enumeration getHttpSessionKeys()
Specified by:
getHttpSessionKeys in interface HttpSessionDataService
Returns:
all key of the attributes from the session context
See Also:
HttpSessionDataService.getHttpSessionKeys()

removeFromHttpSession

public void removeFromHttpSession(java.lang.String key)
Description copied from interface: HttpSessionDataService
Removes an attribute from the HTTP session

Specified by:
removeFromHttpSession in interface HttpSessionDataService
Parameters:
key - the key of the attribute
See Also:
HttpSessionDataService.removeFromHttpSession(java.lang.String)