com.sdm.quasar.client.jsf.binding.features
Class DefaultSessionDataFeature

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.jsf.binding.features.DefaultSessionDataFeature
All Implemented Interfaces:
Feature, java.util.Map, Service, SessionDataService, SystemInfoProvider

public class DefaultSessionDataFeature
extends AbstractFeature
implements SessionDataService

Feature providing a SessionDataService implementation.

Version:
1.0
Author:
Carsten Lucke , sd&m AG

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
protected  java.util.Map internalDataStore
          Internal datastore
 
Constructor Summary
DefaultSessionDataFeature()
          Constructor.
 
Method Summary
 void clear()
          
 boolean containsKey(java.lang.Object key)
          
 boolean containsValue(java.lang.Object value)
          
protected  void dispose()
          Called when the feature or dialog is disposed.
 java.util.Set entrySet()
          
 java.lang.Object get(java.lang.Object key)
          
protected  void init()
          Called when the feature is initializing.
 boolean isEmpty()
          
 java.util.Set keySet()
          
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          
 void putAll(java.util.Map t)
          
 java.lang.Object remove(java.lang.Object key)
          
 int size()
          
 java.util.Collection values()
          
 
Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

internalDataStore

protected java.util.Map internalDataStore
Internal datastore

Constructor Detail

DefaultSessionDataFeature

public DefaultSessionDataFeature()
Constructor.

Method Detail

init

protected void init()
Description copied from class: AbstractFeature
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl installed to. To access the DialogControl use the AbstractFeature.getDialogControl() method.

Override this method to perform some action on initialization e.g. register public services.

Specified by:
init in class AbstractFeature

dispose

protected void dispose()
                throws DisposeException
Description copied from class: AbstractFeature
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing.

Specified by:
dispose in class AbstractFeature
Throws:
DisposeException

clear

public void clear()

Specified by:
clear in interface java.util.Map
See Also:
Map.clear()

containsKey

public boolean containsKey(java.lang.Object key)

Specified by:
containsKey in interface java.util.Map
See Also:
Map.containsKey(java.lang.Object)

containsValue

public boolean containsValue(java.lang.Object value)

Specified by:
containsValue in interface java.util.Map
See Also:
Map.containsValue(java.lang.Object)

entrySet

public java.util.Set entrySet()

Specified by:
entrySet in interface java.util.Map
See Also:
Map.entrySet()

get

public java.lang.Object get(java.lang.Object key)

Specified by:
get in interface java.util.Map
See Also:
Map.get(java.lang.Object)

isEmpty

public boolean isEmpty()

Specified by:
isEmpty in interface java.util.Map
See Also:
Map.isEmpty()

keySet

public java.util.Set keySet()

Specified by:
keySet in interface java.util.Map
See Also:
Map.keySet()

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)

Specified by:
put in interface java.util.Map
See Also:
Map.put(java.lang.Object, java.lang.Object)

putAll

public void putAll(java.util.Map t)

Specified by:
putAll in interface java.util.Map
See Also:
Map.putAll(java.util.Map)

remove

public java.lang.Object remove(java.lang.Object key)

Specified by:
remove in interface java.util.Map
See Also:
Map.remove(java.lang.Object)

size

public int size()

Specified by:
size in interface java.util.Map
See Also:
Map.size()

values

public java.util.Collection values()

Specified by:
values in interface java.util.Map
See Also:
Map.values()