com.intel.gpe.client2.defaults.preferences
Class PreferencesImpl

java.lang.Object
  extended by com.intel.gpe.client2.defaults.GPEPreferences
      extended by com.intel.gpe.client2.defaults.preferences.PreferencesImpl
All Implemented Interfaces:
IPreferences

public class PreferencesImpl
extends GPEPreferences
implements IPreferences

Version:
$Id: PreferencesImpl.java,v 1.4 2007/02/21 11:14:34 dizhigul Exp $
Author:
Denis Zhigula

Field Summary
 
Fields inherited from class com.intel.gpe.client2.defaults.GPEPreferences
root
 
Constructor Summary
PreferencesImpl(IDefaults defaults)
           
 
Method Summary
 java.lang.String get(IKey key)
          Get the value for key.
 java.lang.String get(INode iNode, GUIKeys key)
           
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> get(ITableKey tableKey)
          Get.
 void set(IKey key, java.lang.String value)
          Set the value for key.
 void set(INode iNode, GUIKeys key, java.lang.String value)
           
 void set(ITableKey listKey, java.util.Map<java.lang.String,java.util.List<java.lang.String>> list)
          Set.
 
Methods inherited from class com.intel.gpe.client2.defaults.GPEPreferences
getOrCreateNode, nodeExists, removeNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesImpl

public PreferencesImpl(IDefaults defaults)
Method Detail

get

public java.lang.String get(IKey key)
Description copied from interface: IPreferences
Get the value for key.

Specified by:
get in interface IPreferences
Parameters:
key - the key
Returns:
the value for key.

get

public java.lang.String get(INode iNode,
                            GUIKeys key)

get

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> get(ITableKey tableKey)
Description copied from interface: IPreferences
Get.

Specified by:
get in interface IPreferences
Parameters:
tableKey - the list key
Returns:
the mapping between the row and row_id

set

public void set(IKey key,
                java.lang.String value)
Description copied from interface: IPreferences
Set the value for key.

Specified by:
set in interface IPreferences
Parameters:
key - - IKeys key.
value - - new string value for this key.

set

public void set(INode iNode,
                GUIKeys key,
                java.lang.String value)

set

public void set(ITableKey listKey,
                java.util.Map<java.lang.String,java.util.List<java.lang.String>> list)
Description copied from interface: IPreferences
Set.

Specified by:
set in interface IPreferences
Parameters:
listKey - the key
list - the list


Copyright © 2008. All Rights Reserved.