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

Classes

class  ContainerDetails
 
class  ImageDetails
 

Public Member Functions

 ContainerSummary ()
 
 ContainerSummary (SleuthkitCaseProvider provider)
 
ContainerDetails getContainerDetails (DataSource ds) throws TskCoreException, SQLException, SleuthkitCaseProvider.SleuthkitCaseProviderException
 
String getDataSourceType (DataSource dataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
ImageDetails getImageDetails (Image image) throws TskCoreException, SQLException, SleuthkitCaseProvider.SleuthkitCaseProviderException
 
String getOperatingSystems (DataSource dataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
Long getSizeOfUnallocatedFiles (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 

Private Member Functions

String getConcattedAttrValue (long dataSourceId, int artifactTypeId, int attributeTypeId) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 
String getConcattedStringsResult (String query, String valueParam, String separator) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
 

Private Attributes

final SleuthkitCaseProvider provider
 

Detailed Description

Provides methods to query for data source overview details.

Definition at line 37 of file ContainerSummary.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.ContainerSummary ( )
org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.ContainerSummary ( SleuthkitCaseProvider  provider)

Main constructor.

Parameters
providerThe means of obtaining a sleuthkit case.

Definition at line 53 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.provider.

Member Function Documentation

String org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedAttrValue ( long  dataSourceId,
int  artifactTypeId,
int  attributeTypeId 
) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
private

Generates a concatenated string value based on the text value of a particular attribute in a particular artifact for a specific data source.

Parameters
dataSourceIdThe data source id.
artifactTypeIdThe artifact type id.
attributeTypeIdThe attribute type id.
Returns
The concatenated value or null if the query could not be executed.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 199 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedStringsResult().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getDataSourceType(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getOperatingSystems().

String org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedStringsResult ( String  query,
String  valueParam,
String  separator 
) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException
private

Generates a string which is a concatenation of the value received from the result set.

Parameters
queryThe query.
valueParamThe parameter for the value in the result set.
separatorThe string separator used in concatenation.
Returns
The concatenated string or null if the query could not be executed.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 163 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedAttrValue().

ContainerDetails org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getContainerDetails ( DataSource  ds) throws TskCoreException, SQLException, SleuthkitCaseProvider.SleuthkitCaseProviderException

Generates a container data model object containing data about the data source.

Parameters
dsThe data source.
Returns
The generated view model.

Definition at line 401 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getImageDetails().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.ContainerSummaryGetter.getContainerDetails().

String org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getDataSourceType ( DataSource  dataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Retrieves the concatenation of data source usage for a particular data source.

Parameters
dataSourceThe data source.
Returns
The concatenated value or null if the query could not be executed.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 136 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedAttrValue().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.ContainerSummaryGetter.getDataSourceType().

ImageDetails org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getImageDetails ( Image  image) throws TskCoreException, SQLException, SleuthkitCaseProvider.SleuthkitCaseProviderException

Generates an image data model object containing data about the image.

Parameters
imageThe image.
Returns
The generated view model.

Definition at line 422 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getSizeOfUnallocatedFiles().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getContainerDetails().

String org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getOperatingSystems ( DataSource  dataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Retrieves the concatenation of operating system attributes for a particular data source.

Parameters
dataSourceThe data source.
Returns
The concatenated value or null if the query could not be executed.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 111 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getConcattedAttrValue().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.ContainerSummaryGetter.getOperatingSystems().

Long org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getSizeOfUnallocatedFiles ( DataSource  currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException

Gets the size of unallocated files in a particular datasource.

Parameters
currentDataSourceThe data source.
Returns
The size or null if the query could not be executed.
Exceptions
SleuthkitCaseProviderException
TskCoreException
SQLException

Definition at line 68 of file ContainerSummary.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.getMetaFlagsContainsStatement().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.getImageDetails(), and org.sleuthkit.autopsy.datasourcesummary.ui.ContainerSummaryGetter.getSizeOfUnallocatedFiles().

Member Data Documentation

final SleuthkitCaseProvider org.sleuthkit.autopsy.datasourcesummary.datamodel.ContainerSummary.provider
private

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

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