Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager Interface Reference

Inherited by org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings.

Public Member Functions

boolean createDatabase ()
 
boolean deleteDatabase ()
 
void loadSettings ()
 
void saveSettings ()
 
DatabaseTestResult testStatus ()
 
boolean verifyConnection ()
 
boolean verifyDatabaseExists ()
 
boolean verifyDatabaseSchema ()
 

Detailed Description

This class is a common interface for settings pertaining to the database in central repository.

Definition at line 24 of file CentralRepoDbConnectivityManager.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.createDatabase ( )

This method will create a central repository database if necessary.

Returns
Whether or not the operation was successful.

Implemented in org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings.

Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.createDb().

boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.deleteDatabase ( )

This method deletes a central repository database (used for deleting a corrupted database).

Returns
Whether or not the operation was successful.

Implemented in org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings.

Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.createDb().

void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.loadSettings ( )
void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.saveSettings ( )
DatabaseTestResult org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.testStatus ( )

This method tests the connectivity status of this connection and returns the testing result.

Returns
The result of testing the database connectivity status.

Implemented in org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings.

Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.testStatus().

boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.verifyConnection ( )

This method uses the current settings and the validation query to test the connection to the database.

Returns
True if successfull connection, else false.

Implemented in org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings.

boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.verifyDatabaseExists ( )
boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbConnectivityManager.verifyDatabaseSchema ( )

This method is uses the current settings and the schema version query to test the database schema.

Returns
True if successful connection, else false.

Implemented in org.sleuthkit.autopsy.centralrepository.datamodel.SqliteCentralRepoSettings, and org.sleuthkit.autopsy.centralrepository.datamodel.PostgresCentralRepoSettings.


The documentation for this interface was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Sun Sep 25 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.