public class DatabasePropertiesHelper extends Object
Constructor and Description |
---|
DatabasePropertiesHelper() |
Modifier and Type | Method and Description |
---|---|
static DBConnectionData |
getConnectionData() |
static EDatenbankTyp |
getConnectionDBMSType() |
static String |
getConnectionJdbcURL() |
static String |
getConnectionLoginName() |
static String |
getConnectionLoginPassword() |
static int |
getConnectionMaxCount() |
static int |
getConnectionTimeout() |
static EDBEncryptionAlgorithm |
getEncryptionAlgorithm() |
static String |
getEncryptionPassword() |
static boolean |
isFormDataEncryptionActive() |
static boolean |
isProjectInboxEncryptionActive() |
static void |
migrateProperties() |
static void |
storeConnectionData(DBConnectionData data) |
static void |
storeConnectionData(EDatenbankTyp dbms,
String jdbcUrl,
String loginName,
String loginPwd,
int maxConnections,
int connectionTimeout) |
static void |
storeEncryptionData(boolean formDataEncActive,
String password,
EDBEncryptionAlgorithm algorithm) |
public static void migrateProperties()
public static void storeEncryptionData(boolean formDataEncActive, String password, EDBEncryptionAlgorithm algorithm) throws org.apache.commons.configuration.ConfigurationException
formDataEncActive
- Flag, welches aussagt, ob die Formulardaten Verschluesselung aktiv istpassword
- the encryption passwordalgorithm
- the encryption algorihmorg.apache.commons.configuration.ConfigurationException
- if the configuration could not be savedpublic static void storeConnectionData(DBConnectionData data) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public static void storeConnectionData(EDatenbankTyp dbms, String jdbcUrl, String loginName, String loginPwd, int maxConnections, int connectionTimeout) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public static String getConnectionJdbcURL()
public static String getConnectionLoginName()
public static String getConnectionLoginPassword()
public static int getConnectionMaxCount()
public static int getConnectionTimeout()
public static EDatenbankTyp getConnectionDBMSType()
public static DBConnectionData getConnectionData()
public static String getEncryptionPassword()
public static EDBEncryptionAlgorithm getEncryptionAlgorithm()
public static boolean isFormDataEncryptionActive()
public static boolean isProjectInboxEncryptionActive()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.