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

Static Public Member Functions

static Map< Long, Long > getCountsOfArtifacts ()
 
static Map< Long, Long > getCountsOfFiles ()
 
static Map< Long, Long > getCountsOfTags ()
 
static Map< Long, String > getDataSourceTypes ()
 

Private Member Functions

 CaseDataSourcesSummary ()
 

Static Private Member Functions

static Map< Long, Long > getValuesMap (String query) throws TskCoreException, NoCurrentCaseException
 

Static Private Attributes

static final Logger logger = Logger.getLogger(CaseDataSourcesSummary.class.getName())
 

Detailed Description

Provides methods to query for information for all datasources in a case.

Definition at line 38 of file CaseDataSourcesSummary.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.CaseDataSourcesSummary ( )
private

Definition at line 166 of file CaseDataSourcesSummary.java.

Member Function Documentation

static Map<Long, Long> org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfArtifacts ( )
static

Get a map containing the number of artifacts in each data source in the current case.

Returns
Collection which maps datasource id to a count for the number of artifacts in the datasource, will only contain entries for datasources which have at least 1 artifact

Definition at line 106 of file CaseDataSourcesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getValuesMap().

static Map<Long, Long> org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfFiles ( )
static

Get a map containing the number of files in each data source in the current case.

Returns
Collection which maps datasource id to a count for the number of files in the datasource, will only contain entries for datasources which have at least 1 file

Definition at line 83 of file CaseDataSourcesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getValuesMap().

static Map<Long, Long> org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfTags ( )
static

Get a map containing the number of tags which have been applied in each data source in the current case. Not necessarily the same as the number of items tagged, as an item can have any number of tags.

Returns
Collection which maps datasource id to a count for the number of tags which have been applied in the datasource, will only contain entries for datasources which have at least 1 item tagged.

Definition at line 127 of file CaseDataSourcesSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getValuesMap().

static Map<Long, String> org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getDataSourceTypes ( )
static

Get a map containing the TSK_DATA_SOURCE_USAGE description attributes associated with each data source in the current case.

Returns
Collection which maps datasource id to a String which displays a comma seperated list of values of data source usage types expected to be in the datasource

Definition at line 50 of file CaseDataSourcesSummary.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

static Map<Long, Long> org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getValuesMap ( String  query) throws TskCoreException, NoCurrentCaseException
staticprivate

Helper method to execute a select query with a DataSourceSingleValueCallback.

Parameters
querythe portion of the query which should follow the SELECT
Returns
a map of datasource object ID to a value of type Long
Exceptions
TskCoreException
NoCurrentCaseException

Definition at line 159 of file CaseDataSourcesSummary.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfArtifacts(), org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfFiles(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.getCountsOfTags().

Member Data Documentation

final Logger org.sleuthkit.autopsy.datasourcesummary.datamodel.CaseDataSourcesSummary.logger = Logger.getLogger(CaseDataSourcesSummary.class.getName())
staticprivate

Definition at line 40 of file CaseDataSourcesSummary.java.


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

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