API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.persistance. JOTPersistanceManager View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTPersistanceManager
Implements
Subclasses
Description
public class JOTPersistanceManager
High level manager of all the JOT connections defined in db.properties
See also:   
Constructors
private JOTPersistanceManager ()
Methods
Hide/Show inherited methods
public String backupDb (String dbName) throws Exception
public void destroy ()
public Hashtable getDatabases ()
public String getDbBackupFolder (String dbName)
public String getDbFolder (String dbName)
public String getDbName (String storageName)
  return the database name for a storage
public int getDbVersion (String db)
publicfinalstatic JOTPersistanceManager getInstance ()
public JOTDBUpgrader getUpgrader (String db)
public void init (JOTPreferenceInterface prefs) throws Exception
  Initializes from the db property file
pack-private boolean isDBUpgradeRunning ()
public void setTestDbAsDefault () throws Exception
Used by test module to temporarely set the "test" db as the default one.
Fields
Hide/Show inherited fields
public Hashtable databases
publicfinalstatic String DBTYPE_JDBC = "jdbc"
publicfinalstatic String DBTYPE_JOTDB = "jotdb"
public String jotdbFolder
public String versionFile
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar