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.
|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
PlatformStartup.initPlatformContext(javax.servlet.ServletContext ctx,
Environment env,
Properties config,
DatabaseConnection platformConnection) |
Modifier and Type | Method and Description |
---|---|
DatabaseConnection |
SiteApplication.getDatabaseConnection() |
Modifier and Type | Method and Description |
---|---|
void |
SiteApplication.setDatabaseConnection(DatabaseConnection databaseConnection) |
Modifier and Type | Method and Description |
---|---|
DatabaseConnection |
ApplicationProvider.getDatabaseConnection() |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationProvider.setDatabaseConnection(DatabaseConnection databaseConnection) |
Modifier and Type | Method and Description |
---|---|
DatabaseConnection |
DatabaseConnectionRepository.findBySiteIsNullAndType(DatabaseConnection.DatabaseType databaseType) |
DatabaseConnection |
SiteApplicationRepository.getDatabaseForSiteAndApplication(SiteImpl site,
ApplicationImpl application) |
Modifier and Type | Method and Description |
---|---|
List<DatabaseConnection> |
DatabaseConnectionRepository.findBySiteId(Integer id) |
Modifier and Type | Method and Description |
---|---|
Application |
SiteApplicationRepository.findApplicationForConnection(DatabaseConnection dbc) |
Modifier and Type | Method and Description |
---|---|
void |
DataSourceFactory.configure(DatabaseConnection connection) |
void |
TomcatJdbcConfigurer.configure(DatabaseConnection connection) |
void |
DatasourceConfigurer.configure(DatabaseConnection connection)
Configures the instance using the settings of the given
DatabaseConnection . |
void |
HikariCPConfigurer.configure(DatabaseConnection connection) |
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 . |
HikariCPConfigurer(DatabaseConnection connection) |
HikariCPConfigurer(DatabaseConnection connection,
boolean logPerformance) |
TomcatJdbcConfigurer(DatabaseConnection connection) |
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 . |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<DatabaseConnection> |
CoreService.getDatabaseConnections(Integer siteId,
FieldProcessor fp) |
List<DatabaseConnection> |
CoreService.getDatabaseConnectionsForSite(Integer siteId) |
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)
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–2020 aiticon GmbH. All rights reserved.