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 handlingServletRequest
s andHttpSession
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, mostlySearchRepository
-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 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 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 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 Description DatabaseConnection
SiteApplication. getDatabaseConnection()
Methods in org.appng.core.domain with parameters of type DatabaseConnection Modifier and Type Method 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 Description DatabaseConnection
ApplicationProvider. getDatabaseConnection()
Methods in org.appng.core.model with parameters of type DatabaseConnection Modifier and Type Method 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 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 Description List<DatabaseConnection>
DatabaseConnectionRepository. findBySiteId(Integer id)
Methods in org.appng.core.repository with parameters of type DatabaseConnection Modifier and Type Method 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 Description void
DatasourceConfigurer. configure(DatabaseConnection connection)
Configures the instance using the settings of the givenDatabaseConnection
.void
DataSourceFactory. configure(DatabaseConnection connection)
void
HikariCPConfigurer. configure(DatabaseConnection connection)
void
TomcatJdbcConfigurer. configure(DatabaseConnection connection)
Constructors in org.appng.core.repository.config with parameters of type DatabaseConnection Constructor Description ApplicationPostProcessor(Site site, Application application, DatabaseConnection databaseConnection, org.springframework.cache.CacheManager platformCacheManager, Collection<String> dictionaryNames)
Creates a newApplicationPostProcessor
using the givenDatabaseConnection
.HikariCPConfigurer(DatabaseConnection connection)
HikariCPConfigurer(DatabaseConnection connection, boolean logPerformance)
TomcatJdbcConfigurer(DatabaseConnection connection)
-
Uses of DatabaseConnection in org.appng.core.service
Methods in org.appng.core.service that return DatabaseConnection Modifier and Type Method 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
DatabaseService. initDatabase(Properties config, boolean managed, boolean setActive)
Configures and (optionally) migrates the appNG rootDatabaseConnection
from the givenProperties
.DatabaseConnection
MigrationService. initDatabase(Properties config)
Configures and (optionally) migrates the appNG rootDatabaseConnection
from the givenProperties
.DatabaseConnection
DatabaseService. setActiveConnection(DatabaseConnection rootConnection, boolean changeManagedState)
Configures the appNG rootDatabaseConnection
s by either creating a new one or updating the existingDatabaseConnection
for eachDatabaseConnection.DatabaseType
.Methods in org.appng.core.service that return types with arguments of type DatabaseConnection Modifier and Type Method 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 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 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 givenDatabaseConnection
.DatabaseConnection
DatabaseService. setActiveConnection(DatabaseConnection rootConnection, boolean changeManagedState)
Configures the appNG rootDatabaseConnection
s by either creating a new one or updating the existingDatabaseConnection
for eachDatabaseConnection.DatabaseType
.org.flywaydb.core.api.MigrationInfo
MigrationService. status(DatabaseConnection connection)
Returns the currentMigrationInfo
for the givenDatabaseConnection
org.flywaydb.core.api.MigrationInfoService
MigrationService. statusComplete(DatabaseConnection connection)
Returns the currentMigrationInfoService
for the givenDatabaseConnection
(the appNG root connection).org.flywaydb.core.api.MigrationInfoService
MigrationService. statusComplete(DatabaseConnection connection, boolean testConnection)
Returns the currentMigrationInfoService
for the givenDatabaseConnection
(the appNG root connection).org.flywaydb.core.api.MigrationInfoService
MigrationService. statusComplete(DatabaseConnection connection, File sqlFolder)
Returns the currentMigrationInfoService
for the givenDatabaseConnection
, which must be owned by aSiteApplication
.
-