Class ConfigPostgreSQL
- java.lang.Object
-
- org.adempiere.db.postgresql.config.ConfigPostgreSQL
-
- All Implemented Interfaces:
IDatabaseConfig
public class ConfigPostgreSQL extends Object implements 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
Constructors Constructor Description ConfigPostgreSQL()
ConfigPostgreSQL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
discoverDatabases(String selected)
Discover Databases.String
getDatabaseName(String nativeConnectioName)
Get real database name from native connection profile name return from discoverDatabasesString
getName()
Get Database Namevoid
init(ConfigurationData configurationData)
InitString
test(IDBConfigMonitor monitor, ConfigurationData data)
Test
-
-
-
Method Detail
-
init
public void init(ConfigurationData configurationData)
Init- Specified by:
init
in interfaceIDatabaseConfig
- Parameters:
configurationData
-
-
discoverDatabases
public String[] discoverDatabases(String selected)
Discover Databases. To be overwritten by database configs- Specified by:
discoverDatabases
in interfaceIDatabaseConfig
- Parameters:
selected
- selected database- Returns:
- array of databases
-
test
public String test(IDBConfigMonitor monitor, ConfigurationData data)
Test- Specified by:
test
in interfaceIDatabaseConfig
- Parameters:
monitor
-data
-- Returns:
- error message or null if OK
-
getDatabaseName
public String getDatabaseName(String nativeConnectioName)
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
public String getName()
Description copied from interface:IDatabaseConfig
Get Database Name- Specified by:
getName
in interfaceIDatabaseConfig
- Returns:
- database short name
-
-