public interface DatabaseConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATABASE_NAME |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getConfigurableDatabases()
Returns the names of all database names used by current set of backend bundles.
|
DBMetaTypeProviderExtension[] |
getDBConfigMetaData(java.lang.String databaseName)
Returns configuration metadata of a database service operating on database with
a given name.
|
RoleConfig |
getDBConfiguration(java.lang.String pid)
Returns current properties of a configuration with a supplied pid.
|
java.util.Dictionary[] |
getDBFactoryConfigurations(java.lang.String factoryPid)
Returns all configurations of a configuration factory with a supplied factoryPid.
|
java.lang.String[] |
getPidsOfDBFactoryConfiguration(java.lang.String factoryPid)
Returns array of String objects representing pids of configurations which belongs
to a configuration group of particular factory pid.
|
static final java.lang.String DATABASE_NAME
java.lang.String[] getConfigurableDatabases()
throws CommunicationException,
java.lang.Exception
{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionDBMetaTypeProviderExtension[] getDBConfigMetaData(java.lang.String databaseName) throws CommunicationException, java.lang.Exception
null all metatype providers are considered.databaseName - the name of the desired database metadata.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.lang.String[] getPidsOfDBFactoryConfiguration(java.lang.String factoryPid)
throws CommunicationException,
java.lang.Exception
factoryPid - the specified factory pid.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionRoleConfig getDBConfiguration(java.lang.String pid) throws CommunicationException, java.lang.Exception
pid - the pid of the configuration.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionjava.util.Dictionary[] getDBFactoryConfigurations(java.lang.String factoryPid)
throws CommunicationException,
java.lang.Exception
factoryPid - the factory pid of the configurations.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.