Class ConfigPostgreSQL
java.lang.Object
org.adempiere.db.postgresql.config.ConfigPostgreSQL
- All Implemented Interfaces:
IDatabaseConfig
PostgreSQL Configuration
- Version:
- $Id: ConfigPostgreSQL.java,v 1.0 2005/01/31 06:08:15 vpj-cd Exp $
- Author:
- Victor Perez e-Evolution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
discoverDatabases
(String selected) Discover Databases.getDatabaseName
(String nativeConnectioName) Get real database name from native connection profile name return from discoverDatabasesgetName()
Get Database Namevoid
init
(ConfigurationData configurationData) Inittest
(IDBConfigMonitor monitor, ConfigurationData data) Test
-
Constructor Details
-
ConfigPostgreSQL
public ConfigPostgreSQL()ConfigPostgreSQL
-
-
Method Details
-
init
Init- Specified by:
init
in interfaceIDatabaseConfig
- Parameters:
configurationData
-
-
discoverDatabases
Discover Databases. To be overwritten by database configs- Specified by:
discoverDatabases
in interfaceIDatabaseConfig
- Parameters:
selected
- selected database- Returns:
- array of databases
-
test
Test- Specified by:
test
in interfaceIDatabaseConfig
- Parameters:
monitor
-data
-- Returns:
- error message or null if OK
-
getDatabaseName
Description copied from interface:IDatabaseConfig
Get real database name from native connection profile name return from discoverDatabases- Specified by:
getDatabaseName
in interfaceIDatabaseConfig
- Returns:
- Database name
-
getName
Description copied from interface:IDatabaseConfig
Get Database Name- Specified by:
getName
in interfaceIDatabaseConfig
- Returns:
- database short name
-