| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.app.UserSettings
UserSettings | public class UserSettings extends jsx3.lang.Object (Code) | | Read-Write per-User settings for a particular GI application (server).
This implementation stores settings in a browser cookie.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
PERSIST_INDEFINITE | final public static int PERSIST_INDEFINITE(Code) | | |
PERSIST_SESSION | final public static int PERSIST_SESSION(Code) | | |
UserSettings | public UserSettings(Context context, String extension, ScriptProxy scriptProxy)(Code) | | All reverse ajax proxies need context to work from
Parameters: scriptProxy - The place we are writing scripts to Parameters: context - The script that got us to where we are now |
UserSettings | public UserSettings(jsx3.app.Server objServer, int intPersistence)(Code) | | The instance initializer.
Parameters: objServer - the app server. Parameters: intPersistence - the persistence code, defaults to PERSIST_INDEFINITE . |
clear | public void clear()(Code) | | Clears all settings of this user settings instance. This implementation deletes the cookie.
|
remove | public void remove(String strKey)(Code) | | Removes a stored setting value.
Parameters: strKey - the key of the setting to remove. |
save | public void save()(Code) | | Persists the user settings. Any modifications to this user settings instance will be lost if this method
is not called.
|
set | public void set(String strKey, Object[] value)(Code) | | Sets a stored setting value.
Parameters: strKey - the setting key. Parameters: value - the value to store. |
set | public void set(String strKey, jsx3.lang.Object value)(Code) | | Sets a stored setting value.
Parameters: strKey - the setting key. Parameters: value - the value to store. |
set | public void set(String strKey, Integer value)(Code) | | Sets a stored setting value.
Parameters: strKey - the setting key. Parameters: value - the value to store. |
set | public void set(String strKey, String value)(Code) | | Sets a stored setting value.
Parameters: strKey - the setting key. Parameters: value - the value to store. |
set | public void set(String strKey, boolean value)(Code) | | Sets a stored setting value.
Parameters: strKey - the setting key. Parameters: value - the value to store. |
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|