## Uses of Class
org.appng.core.domain.DatabaseConnection

- Packages that use DatabaseConnection
  Package | Description
  --- | ---
  org.appng.appngizer.controller |
  org.appng.appngizer.model |
  org.appng.core.controller | Contains the essential types for handling `ServletRequest`s and `HttpSession`s.
  org.appng.core.domain | The persistent domain objects.
  org.appng.core.model | The non-persistent domain model types.
  org.appng.core.repository | Persistence and Database related stuff, mostly `SearchRepository`-specializations.
  org.appng.core.repository.config | Types implementing the database connection pooling.
  org.appng.core.service | The service layer.

- - ### Uses of DatabaseConnection in org.appng.appngizer.controller

    Methods in org.appng.appngizer.controller with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DatabaseController.`addApplicationLink(String site, DatabaseConnection dbc, Database fromDomain)`
    `protected org.springframework.http.ResponseEntity<Database>` | DatabaseController.`info(DatabaseConnection platformConnection)`

  - ### Uses of DatabaseConnection in org.appng.appngizer.model

    Methods in org.appng.appngizer.model with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Database.`applyChanges(Database database, DatabaseConnection dbc)`
    `static Database` | Database.`fromDomain(DatabaseConnection dbc, org.flywaydb.core.api.MigrationInfoService status, String salt)`
    `static Database` | Database.`fromDomain(DatabaseConnection dbc, org.flywaydb.core.api.MigrationInfoService status, String salt, boolean withManagedState)`

  - ### Uses of DatabaseConnection in org.appng.core.controller

    Methods in org.appng.core.controller with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | PlatformStartup.`initPlatformContext(javax.servlet.ServletContext ctx, Environment env, Properties config, DatabaseConnection platformConnection)`

  - ### Uses of DatabaseConnection in org.appng.core.domain

    Methods in org.appng.core.domain that return DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | SiteApplication.`getDatabaseConnection()`

    Methods in org.appng.core.domain with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | SiteApplication.`setDatabaseConnection(DatabaseConnection databaseConnection)`

  - ### Uses of DatabaseConnection in org.appng.core.model

    Methods in org.appng.core.model that return DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | ApplicationProvider.`getDatabaseConnection()`

    Methods in org.appng.core.model with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | ApplicationProvider.`setDatabaseConnection(DatabaseConnection databaseConnection)`

  - ### Uses of DatabaseConnection in org.appng.core.repository

    Methods in org.appng.core.repository that return DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `DatabaseConnection` | DatabaseConnectionRepository.`findBySiteIsNullAndType(DatabaseConnection.DatabaseType databaseType)`
    `DatabaseConnection` | SiteApplicationRepository.`getDatabaseForSiteAndApplication(SiteImpl site, ApplicationImpl application)`

    Methods in org.appng.core.repository that return types with arguments of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `List<DatabaseConnection>` | DatabaseConnectionRepository.`findBySiteId(Integer id)`

    Methods in org.appng.core.repository with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `Application` | SiteApplicationRepository.`findApplicationForConnection(DatabaseConnection dbc)`

  - ### Uses of DatabaseConnection in org.appng.core.repository.config

    Methods in org.appng.core.repository.config with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | HikariCPConfigurer.`configure(DatabaseConnection connection)`
    `void` | DatasourceConfigurer.`configure(DatabaseConnection connection)` Configures the instance using the settings of the given `DatabaseConnection`.
    `void` | DataSourceFactory.`configure(DatabaseConnection connection)`
    `void` | TomcatJdbcConfigurer.`configure(DatabaseConnection connection)`

    Constructors in org.appng.core.repository.config with parameters of type DatabaseConnection
    Constructor and Description
    `ApplicationPostProcessor(Site site, Application application, DatabaseConnection databaseConnection, org.springframework.cache.CacheManager platformCacheManager, Collection<String> dictionaryNames)` Creates a new `ApplicationPostProcessor` using the given `DatabaseConnection`.
    `TomcatJdbcConfigurer(DatabaseConnection connection)`

  - ### Uses of DatabaseConnection in org.appng.core.service

    Methods in org.appng.core.service that return DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected DatabaseConnection` | CoreService.`createDatabaseConnection(DatabaseConnection databaseConnection, boolean managed)`
    `DatabaseConnection` | CoreService.`getDatabaseConnection(Integer dcId, boolean clearPassword)`
    `DatabaseConnection` | CoreService.`getDatabaseConnection(SiteImpl site, ApplicationImpl application)`
    `DatabaseConnection` | MigrationService.`getPlatformConnection(Properties properties)`
    `DatabaseConnection` | DatabaseService.`getRootConnectionOfType(DatabaseConnection.DatabaseType type)`
    `DatabaseConnection` | MigrationService.`initDatabase(Properties config)` Configures and (optionally) migrates the appNG root `DatabaseConnection` from the given `Properties`.
    `DatabaseConnection` | DatabaseService.`initDatabase(Properties config, boolean managed, boolean setActive)` Configures and (optionally) migrates the appNG root `DatabaseConnection` from the given `Properties`.
    `DatabaseConnection` | DatabaseService.`setActiveConnection(DatabaseConnection rootConnection, boolean changeManagedState)` Configures the appNG root `DatabaseConnection`s by either creating a new one or updating the existing `DatabaseConnection` for each `DatabaseConnection.DatabaseType`.

    Methods in org.appng.core.service that return types with arguments of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.data.domain.Page<DatabaseConnection>` | CoreService.`getDatabaseConnections(Integer siteId, FieldProcessor fp)`
    `List<DatabaseConnection>` | CoreService.`getDatabaseConnectionsForSite(Integer siteId)`

    Methods in org.appng.core.service with parameters of type DatabaseConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected DatabaseConnection` | CoreService.`createDatabaseConnection(DatabaseConnection databaseConnection, boolean managed)`
    `protected void` | DatabaseService.`dropApplicationConnection(DatabaseConnection databaseConnection, DataSource dataSource)`
    `Application` | CoreService.`getApplicationForConnection(DatabaseConnection dbc)`
    `protected DataSource` | MigrationService.`getDataSource(DatabaseConnection databaseConnection)`
    `protected org.flywaydb.core.Flyway` | MigrationService.`getFlyway(DatabaseConnection connection, ClassLoader classLoader, String... locations)`
    `protected void` | DatabaseService.`initApplicationConnection(DatabaseConnection applicationConnection, DataSource dataSource)`
    `protected MigrationService.MigrationStatus` | MigrationService.`initDatabase(DatabaseConnection rootConnection, Boolean doRepair)`
    `void` | InitializerService.`initPlatform(PlatformProperties platformConfig, Environment env, DatabaseConnection rootConnection, javax.servlet.ServletContext ctx, ExecutorService executor)` Deprecated.
    `void` | InitializerService.`initPlatform(PlatformProperties platformConfig, Environment env, DatabaseConnection rootConnection, javax.servlet.ServletContext ctx, ExecutorService messagingExecutor, ExecutorService startupExecutor)` Initializes and loads the platform, which includes logging some environment settings.
    `protected MigrationService.MigrationStatus` | MigrationService.`migrate(org.flywaydb.core.Flyway flyway, DatabaseConnection databaseConnection)`
    `void` | DatabaseService.`save(DatabaseConnection databaseConnection)` Persists the given `DatabaseConnection`.
    `DatabaseConnection` | DatabaseService.`setActiveConnection(DatabaseConnection rootConnection, boolean changeManagedState)` Configures the appNG root `DatabaseConnection`s by either creating a new one or updating the existing `DatabaseConnection` for each `DatabaseConnection.DatabaseType`.
    `org.flywaydb.core.api.MigrationInfo` | MigrationService.`status(DatabaseConnection connection)` Returns the current `MigrationInfo` for the given `DatabaseConnection`
    `org.flywaydb.core.api.MigrationInfoService` | MigrationService.`statusComplete(DatabaseConnection connection)` Returns the current `MigrationInfoService` for the given `DatabaseConnection` (the appNG root connection).
    `org.flywaydb.core.api.MigrationInfoService` | MigrationService.`statusComplete(DatabaseConnection connection, boolean testConnection)` Returns the current `MigrationInfoService` for the given `DatabaseConnection` (the appNG root connection).
    `org.flywaydb.core.api.MigrationInfoService` | MigrationService.`statusComplete(DatabaseConnection connection, File sqlFolder)` Returns the current `MigrationInfoService` for the given `DatabaseConnection`, which must be owned by a `SiteApplication`.

Copyright © 2011–2023 aiticon GmbH. All rights reserved.