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

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

public class DefaultRequestDataService
extends java.lang.Object
implements RequestDataService

Provides the request scope.

Author:
Martin Haft

Constructor Summary
DefaultRequestDataService()
           
 
Method Summary
 java.util.Enumeration getRequestValueKeys()
           
 java.lang.Object getValueFromRequest(java.lang.String key)
          Reads an attribute from the current request
 void removeValueFromRequest(java.lang.String key)
          Removes an attribute from current request
 void setValueToRequest(java.lang.String key, java.lang.Object value)
          Puts an attribute to the current request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRequestDataService

public DefaultRequestDataService()
Method Detail

getValueFromRequest

public java.lang.Object getValueFromRequest(java.lang.String key)
Description copied from interface: RequestDataService
Reads an attribute from the current request

Specified by:
getValueFromRequest in interface RequestDataService
Parameters:
key - the key of the attribute
Returns:
the value of the attribute

setValueToRequest

public void setValueToRequest(java.lang.String key,
                              java.lang.Object value)
Description copied from interface: RequestDataService
Puts an attribute to the current request

Specified by:
setValueToRequest in interface RequestDataService
Parameters:
key - the key of the attribute
value - the value of the attribute

getRequestValueKeys

public java.util.Enumeration getRequestValueKeys()
Specified by:
getRequestValueKeys in interface RequestDataService
Returns:
all key of the attributes from the current request
See Also:
RequestDataService.getRequestValueKeys()

removeValueFromRequest

public void removeValueFromRequest(java.lang.String key)
Description copied from interface: RequestDataService
Removes an attribute from current request

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