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
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
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
return the database name for a storage
Returns:
Parameters:
-
storageName
-
public
int
getDbVersion
(
String
db)
public
final
static
JOTPersistanceManager
getInstance
()
public
JOTDBUpgrader
getUpgrader
(
String
db)
public
void
init
(
JOTPreferenceInterface
prefs) throws
Exception
Initializes from the db property file
Initializes from the db property file
Parameters:
-
prefs
-
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
public
final
static
String
DBTYPE_JDBC
= "jdbc"
public
final
static
String
DBTYPE_JOTDB
= "jotdb"
public
String
jotdbFolder
public
String
versionFile
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.5 ©Thibaut Colar