com.sdm.quasar.client.jsf.dialog.services
Interface HttpSessionDataService

All Superinterfaces:
Service
All Known Implementing Classes:
DefaultHttpSessionDataService

public interface HttpSessionDataService
extends Service

This srevice provides the session scope.

Author:
Martin Haft

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
 

Method Detail

getValueFromHttpSession

public java.lang.Object getValueFromHttpSession(java.lang.String key)
Reads an attribute from the HTTP session

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)
Puts an attribute to the HTTP session

Parameters:
key - the key of the attribute
value - the value of the attribute

getHttpSessionKeys

public java.util.Enumeration getHttpSessionKeys()
Returns:
all key of the attributes from the session context

removeFromHttpSession

public void removeFromHttpSession(java.lang.String key)
Removes an attribute from the HTTP session

Parameters:
key - the key of the attribute