wt.prefs
Class PreferenceServiceFwd

java.lang.Object
  extended bywt.prefs.PreferenceServiceFwd
All Implemented Interfaces:
PreferenceService, RemoteAccess, Serializable

public class PreferenceServiceFwd
extends Object
implements RemoteAccess, PreferenceService, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
PreferenceServiceFwd()
           
 
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
private static Manager getManager()
           
 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: false
 void updateEntry(PrefEntry entry)
          

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

PreferenceServiceFwd

public PreferenceServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

put

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


Supported API: false

Specified by:
put in interface PreferenceService
Parameters:
node -
context -
name -
value -
Returns:
PrefEntry
Throws:
WTException

get

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


Supported API: false

Specified by:
get in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
String
Throws:
WTException

get

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


Supported API: false

Specified by:
get in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
String
Throws:
WTException

delete

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


Supported API: false

Specified by:
delete in interface PreferenceService
Parameters:
node -
context -
name -
Throws:
WTException

children

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


Supported API: false

Specified by:
children in interface PreferenceService
Parameters:
node -
context -
Returns:
String[]
Throws:
WTException

keys

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


Supported API: false

Specified by:
keys in interface PreferenceService
Parameters:
node -
context -
Returns:
String[]
Throws:
WTException

getEntry

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


Supported API: false

Specified by:
getEntry in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
PrefEntry
Throws:
WTException

getEntry

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


Supported API: false

Specified by:
getEntry in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
PrefEntry
Throws:
WTException

getEntries

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


Supported API: false

Specified by:
getEntries in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException

getEntries

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


Supported API: false

Specified by:
getEntries in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException

updateEntry

public void updateEntry(PrefEntry entry)
                 throws WTException


Supported API: false

Specified by:
updateEntry in interface PreferenceService
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: false

Specified by:
putAll in interface PreferenceService
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

Specified by:
getAll in interface PreferenceService
Parameters:
pref -
keys -
Returns:
PrefEntry[]
Throws:
WTException

getEntries

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


Supported API: false

Specified by:
getEntries in interface PreferenceService
Parameters:
node -
context -
name -
Returns:
PrefEntry[]
Throws:
WTException