wt.prefs
Interface PreferenceService

All Known Implementing Classes:
PreferenceServiceFwd, StandardPreferenceService

public interface PreferenceService



Supported API: true

Extendable: false


Method Summary
 String[] children(String node, String[] context)
          

Supported API: false
 void delete(String node, String context, String name)
          

Supported API: false
 String get(String node, String[] context, String name)
          

Supported API: false
 String get(String node, String context, String name)
          

Supported API: false
 PrefEntry[] getAll(WTPreferences pref, String[] keys)
          

Supported API: false
 PrefEntry[] getEntries(String node, String[] context, String name)
          

Supported API: false
 PrefEntry[] getEntries(String node, String[] context, String[] name)
          

Supported API: false
 PrefEntry[] getEntries(String node, String context, String name)
          

Supported API: false
 PrefEntry getEntry(String node, String[] context, String name)
          

Supported API: false
 PrefEntry getEntry(String node, String context, String name)
          

Supported API: false
 String[] keys(String node, String[] context)
          

Supported API: false
 PrefEntry put(String node, String context, String name, String value)
          

Supported API: false
 HashMap putAll(String node, String context, HashMap map)
          This method will put/update several Preferences into the Preference System

Supported API: true
 void updateEntry(PrefEntry entry)
          

Supported API: false
 

Method Detail

put

public PrefEntry put(String node,
                     String context,
                     String name,
                     String value)
              throws WTException


Supported API: false

Parameters:
node -
context -
name -
value -
Returns:
PrefEntry
Throws:
WTException

get

public String get(String node,
                  String[] context,
                  String name)
           throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
String
Throws:
WTException

get

public String get(String node,
                  String context,
                  String name)
           throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
String
Throws:
WTException

delete

public void delete(String node,
                   String context,
                   String name)
            throws WTException


Supported API: false

Parameters:
node -
context -
name -
Throws:
WTException

children

public String[] children(String node,
                         String[] context)
                  throws WTException


Supported API: false

Parameters:
node -
context -
Returns:
String[]
Throws:
WTException

keys

public String[] keys(String node,
                     String[] context)
              throws WTException


Supported API: false

Parameters:
node -
context -
Returns:
String[]
Throws:
WTException

getEntry

public PrefEntry getEntry(String node,
                          String[] context,
                          String name)
                   throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
PrefEntry
Throws:
WTException

getEntry

public PrefEntry getEntry(String node,
                          String context,
                          String name)
                   throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
PrefEntry
Throws:
WTException

getEntries

public PrefEntry[] getEntries(String node,
                              String[] context,
                              String name)
                       throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException

getEntries

public PrefEntry[] getEntries(String node,
                              String context,
                              String name)
                       throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException

updateEntry

public void updateEntry(PrefEntry entry)
                 throws WTException


Supported API: false

Parameters:
entry - Updates the PrefEntry
Throws:
WTException

putAll

public HashMap putAll(String node,
                      String context,
                      HashMap map)
               throws WTException
This method will put/update several Preferences into the Preference System

Supported API: true

Parameters:
node - The fully qualified node name
context - The edit_context to use for Preference updating
map - The map of key/value pairs
Returns:
HashMap
Throws:
WTException

getAll

public PrefEntry[] getAll(WTPreferences pref,
                          String[] keys)
                   throws WTException


Supported API: false

Parameters:
pref -
keys -
Returns:
PrefEntry[]
Throws:
WTException

getEntries

public PrefEntry[] getEntries(String node,
                              String[] context,
                              String[] name)
                       throws WTException


Supported API: false

Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException