org.jSyncManager.Client
Class UserPreferences
java.lang.Object
|
+--org.jSyncManager.Client.UserPreferences
- public class UserPreferences
- extends java.lang.Object
The User Preferences class.
This class contains the user preferences.
- Version:
- $Revision: 1.4 $
- Author:
- Ian DALLAS <occupant@iandallas.com>
Last modified by: $Author: yaztromo $ on $Date: 2003/06/26 02:25:23 $.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setDataExportDirectory
public void setDataExportDirectory(java.io.File value)
getDataExportDirectory
public java.io.File getDataExportDirectory()
setLogExportFile
public void setLogExportFile(java.io.File value)
getLogExportFile
public java.io.File getLogExportFile()
setTaskPerformedOnSync
public void setTaskPerformedOnSync(java.lang.String value)
getTaskPerformedOnSync
public java.lang.String getTaskPerformedOnSync()
setSelectedConnection
public void setSelectedConnection(java.lang.String value)
getSelectedConnection
public java.lang.String getSelectedConnection()
load
public static UserPreferences load(java.lang.Object userID)
- Factory method to load a user's preferences based on the users's name
or perhaps some other id field. The application should keep track of
which preferences files have been loaded, so that duplicate objects aren't created,
which would lead to persistence versioning issues.
saveChanges
public void saveChanges()
- Save changes to the UserPreferences. Should probably bounce them down to disk.
Copyright (c) 1999 - 2003 Brad BARCLAY and others. All Rights Reserved.