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

Inherits org.sleuthkit.autopsy.appservices.AutopsyService.

Public Member Functions

void closeCaseResources (CaseContext context) throws AutopsyServiceException
 
String getServiceName ()
 
void openCaseResources (CaseContext context) throws AutopsyServiceException
 

Private Member Functions

void dataUpgradeForVersion1dot2 (Case currentCase) throws AutopsyServiceException
 
void updateSchema () throws AutopsyServiceException
 

Private Attributes

CaseEventListener caseEventListener = new CaseEventListener()
 

Detailed Description

The Autopsy application service for the central repository.

Definition at line 35 of file CentralRepositoryService.java.

Member Function Documentation

void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.closeCaseResources ( CaseContext  context) throws AutopsyServiceException

Closes any case-level resources managed by the service.

Parameters
contextThe case context which includes things such as the case, a progress indicator for the operation, a cancellation request flag, etc.
Exceptions
org.sleuthkit.autopsy.framework.AutopsyService.AutopsyServiceException

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 78 of file CentralRepositoryService.java.

References org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.getProgressIndicator(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.shutdown().

void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.dataUpgradeForVersion1dot2 ( Case  currentCase) throws AutopsyServiceException
private

Adds missing data source object IDs from data sources in this case to the corresponding records in the central repository database. This is a data update to go with the v1.2 schema update.

Exceptions
AutopsyServiceExceptionThe exception is thrown if there is an error updating the database.

Definition at line 108 of file CentralRepositoryService.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.addDataSourceObjectId(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getCase(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getDataSources(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationCase.getID(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().

String org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.getServiceName ( )

Gets the service name.

Returns
The service name.

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 43 of file CentralRepositoryService.java.

void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.openCaseResources ( CaseContext  context) throws AutopsyServiceException

Creates, opens or upgrades any case-level resources managed by the service.

Parameters
contextThe case context which includes things such as the case, a progress indicator for the operation, a cancellation request flag, etc.
Exceptions
org.sleuthkit.autopsy.framework.AutopsyService.AutopsyServiceException

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 52 of file CentralRepositoryService.java.

References org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.cancelRequested, org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.getCase(), org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.getProgressIndicator(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.startUp().

void org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.updateSchema ( ) throws AutopsyServiceException
private

Updates the central repository database schema to the latest version.

Exceptions
AutopsyServiceExceptionThe exception is thrown if there is an error updating the database schema.

Definition at line 92 of file CentralRepositoryService.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.upgradeDatabase().

Member Data Documentation

CaseEventListener org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService.caseEventListener = new CaseEventListener()
private

Definition at line 37 of file CentralRepositoryService.java.


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

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