public interface DatabaseInitializationStatusCallback
Modifier and Type | Method and Description |
---|---|
void |
creatingSchema()
Called to inform that the schema is going to be created on the global database.
|
void |
creatingSchemaFailed()
Called to inform that the schema creation failed.
|
void |
creatingSchemaSucceeded()
Called to inform that the schema creation succeeded.
|
void |
databaseInitialization()
Called to inform that database initialization has started.
|
void |
databaseInitializationAlreadyDone()
Called to inform that database initialization has already been successfully completed.
|
void |
databaseInitializationFinished(boolean success)
Called to inform that database initialization has been successfully finished.
|
void |
establishingConnection()
Called to inform that the connection to the global database is going to be established.
|
void |
establishingConnectionFailed(DatabaseConnectionException cause)
Called to inform that the connection to the global database could not be established.
|
void |
establishingConnectionSucceeded()
Called to inform that the connection to the global database could be established
successfully.
|
void |
preparingInstallation()
Called to inform that the installation is being prepared.
|
void |
preparingInstallationFailed()
Called to inform that preparing the installation failed.
|
void |
preparingInstallationSucceeded()
Called to inform that preparing the installation was successful.
|
void |
writingInitialData()
Called to inform that initial data like country names and language names is stored in the
database.
|
void |
writingInitialDataFailed()
Called to inform that storing the initial data failed.
|
void |
writingInitialDataSucceeded()
Called to inform that storing the initial data succeeded.
|
void creatingSchema()
void creatingSchemaFailed()
void creatingSchemaSucceeded()
void databaseInitialization()
void databaseInitializationAlreadyDone()
void databaseInitializationFinished(boolean success)
success
- the status of the database initializationvoid establishingConnection()
void establishingConnectionFailed(DatabaseConnectionException cause)
cause
- the cause for the failurevoid establishingConnectionSucceeded()
void preparingInstallation()
void preparingInstallationFailed()
void preparingInstallationSucceeded()
void writingInitialData()
void writingInitialDataFailed()
void writingInitialDataSucceeded()
Copyright © 2019 Communote team. All rights reserved.