Method Summary |
|
public boolean | addDatabase(String dBname) Adds database name to list of databases used by application. |
public boolean | existDbName(String dBname) Checks existence of given database name in the list of already defined
databases for application.
Parameters: dBname - the name of the database. |
public String | getDBnameClassType(String dBname) Gets value of ClassType parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameConnectionAllocationTimeout(String dBname) Gets value of Connection. |
public String | getDBnameConnectionLogging(String dBname) Gets value of Connection.Logging parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameConnectionMaxPoolSize(String dBname) Gets value of Connection.MaxPoolSize parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameConnectionPassword(String dBname) Gets value of Connection.Password parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameConnectionUrl(String dBname) Gets value of Connection.Url parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameConnectionUser(String dBname) Gets value of Connection.User parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameJdbcDriver(String dBname) Gets value of JdbcDriver parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameObjectIdCacheSize(String dBname) Gets value of ObjectId.CacheSize parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String | getDBnameObjectIdMinValue(String dBname) Gets value of ObjectId.MinValue parameter for given database name from Config
object of application.
Parameters: dBname - name of database which parameter's value is changed or set. |
public String[] | getDatabases() Gets list of available database names. |
public String | getDebug() Gets value of Debug parameter in Config object of application.
value of parameter represented as String. |
public String | getDefaultDatabase() Gets value of DefaultDatabase parameter in Config object of application. |
public void | refreshAllDbParameters(String dBname) Finds all parameters for specified database in configuration file and sets
they to temporary object arguments. |
public boolean | removeDatabase(String dBname) Removes database name from array of databases used by application. |
public boolean | saveState() Save state of DatabaseManager configuration parameters into application
configuration file. |
public void | setDBnameClassType(String value, String dBname) Sets value of ClassType parameter for given database name in Config
object of application. |
public void | setDBnameConnectionAllocationTimeout(String value, String dBname) Sets value of Connection.AllocationTimeout parameter for given database name
in Config object of application. |
public void | setDBnameConnectionLogging(String value, String dBname) Sets value of Connection.Logging parameter for given database name in Config
object of application.
Parameters: value - given value of Connection.Logging parameter represented as String.Allowable values for this parameter are "true" and "false". |
public void | setDBnameConnectionMaxPoolSize(String value, String dBname) Sets value of Connection.MaxPoolSize parameter for given database name in Config
object of application. |
public void | setDBnameConnectionPassword(String value, String dBname) Sets value of Connection.Password parameter for given database name in Config
object of application. |
public void | setDBnameConnectionUrl(String value, String dBname) Sets value of Connection.Url parameter for given database name in Config
object of application. |
public void | setDBnameConnectionUser(String value, String dBname) Sets value of Connection.User parameter for given database name in Config
object of application. |
public void | setDBnameJdbcDriver(String value, String dBname) Sets value of JdbcDriver parameter for given database name in Config
object of application. |
public void | setDBnameObjectIdCacheSize(String value, String dBname) Sets value of ObjectId.CacheSize parameter for given database name in Config
object of application. |
public void | setDBnameObjectIdMinValue(String value, String dBname) Sets value of ObjectId.MinValue parameter for given database name in Config
object of application. |
public void | setDatabases(String[] databases) Sets list of database names. |
public void | setDebug(String debug) Sets value of Debug parameter in Config object of application.
Parameters: debug - value of parameter represented as String. |
public void | setDefaultDatabase(String dBname) Sets value of DefaultDatabase parameter in Config object of application. |