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

Inherits org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.

Public Member Functions

 PastCasesPanel ()
 PastCasesPanel (PastCasesSummaryGetter pastCaseData)
void close ()

Protected Member Functions

void fetchInformation (DataSource dataSource)
void fetchInformation (List< DataFetchComponents< DataSource,?>> dataFetchComponents, DataSource dataSource)
MenuItem getArtifactNavigateItem (BlackboardArtifact artifact)
synchronized DataSource getDataSource ()
MenuItem getFileNavigateItem (String path)
MenuItem getFileNavigateItem (AbstractFile file)
void notifyParentClose ()
void onNewDataSource (DataSource dataSource)
void onNewDataSource (List< DataFetchComponents< DataSource,?>> dataFetchComponents, List<?extends LoadableComponent<?>> loadableComponents, DataSource dataSource)
void submit (List<?extends SwingWorker<?,?>> workers)

Static Protected Member Functions

static< T > T getFetchResult (DataFetcher< DataSource, T > dataFetcher, String sheetName, DataSource ds)

Private Member Functions

void handleResult (DataFetchResult< PastCasesResult > result)
void initComponents ()

Private Attributes

final List< DataFetchComponents< DataSource,?> > dataFetchComponents
final IngestRunningLabel ingestRunningLabel = new IngestRunningLabel()
final JTablePanel< Pair< String, Long > > notableFileTable = JTablePanel.getJTablePanel(DEFAULT_TEMPLATE)
final DataFetcher< DataSource, PastCasesResultpastCasesFetcher
final JTablePanel< Pair< String, Long > > sameIdTable = JTablePanel.getJTablePanel(DEFAULT_TEMPLATE)
final List< JTablePanel<?> > tables

Static Private Attributes

static final ColumnModel< Pair< String, Long >, DefaultCellModel<?> > CASE_COL
static final ColumnModel< Pair< String, Long >, DefaultCellModel<?> > COUNT_COL
static List< ColumnModel< Pair< String, Long >, DefaultCellModel<?> > > DEFAULT_TEMPLATE = Arrays.asList(CASE_COL, COUNT_COL)
static final long serialVersionUID = 1L

Detailed Description

A tab shown in data source summary displaying information about a datasource and how it pertains to other cases.

Definition at line 46 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.PastCasesPanel ( )

Definition at line 83 of file

org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.PastCasesPanel ( PastCasesSummaryGetter  pastCaseData)

Member Function Documentation

void org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.close ( )
void org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.fetchInformation ( DataSource  dataSource)

Definition at line 117 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.fetchInformation ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
DataSource  dataSource 

Utility method to be called when solely updating information (not showing a loading screen) that creates swing workers from the data source argument and data fetch components and then submits them to run.

dataFetchComponentsThe components to be run.
dataSourceThe data source argument.

Definition at line 426 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getArtifactNavigateItem ( BlackboardArtifact  artifact)

Given the relevant artifact, navigates to the artifact in the tree and closes data source summary dialog if open.

artifactThe artifact.
The menu item for a go to artifact menu item.

Definition at line 255 of file

synchronized DataSource org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getDataSource ( )
The current data source.

Definition at line 386 of file

static <T> T org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFetchResult ( DataFetcher< DataSource, T >  dataFetcher,
String  sheetName,
DataSource  ds 

Runs a data fetcher and returns the result handling any possible errors with a log message.

dataFetcherThe means of fetching the data.
sheetNameThe name of the sheet.
dsThe data source.
The fetched data.

Definition at line 460 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( String  path)

Creates a menu item to navigate to a file.

pathThe path to the file.
The menu item or null if file cannot be found in data source.

Definition at line 303 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( AbstractFile  file)

Given the relevant file, navigates to the file in the tree and closes data source summary dialog if open.

fileThe file.
The menu item list for a go to artifact menu item.

Definition at line 331 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.handleResult ( DataFetchResult< PastCasesResult result)

Handles displaying the result for each table by breaking apart subdata items into seperate results for each table.

resultThe result.

Definition at line 111 of file

References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getSubResult(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< List< T > >.showDataFetchResult().

void org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.initComponents ( )

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 139 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.notifyParentClose ( )

Sends event that parent should close.

Definition at line 368 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.onNewDataSource ( DataSource  dataSource)

Definition at line 122 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.onNewDataSource ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
List<?extends LoadableComponent<?>>  loadableComponents,
DataSource  dataSource 

Utility method that shows a loading screen with loadable components, create swing workers from the datafetch components and data source argument and submits them to be executed.

dataFetchComponentsThe components to register.
loadableComponentsThe components to set to a loading screen.
dataSourceThe data source argument.

Definition at line 484 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.submit ( List<?extends SwingWorker<?,?>>  workers)

Submits the following swing workers for execution in sequential order. If there are any previous workers, those workers are cancelled.

workersThe workers to submit for execution.

Definition at line 396 of file

Member Data Documentation

final ColumnModel<Pair<String, Long>, DefaultCellModel<?> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.CASE_COL
Initial value:
= new ColumnModel<>(
(pair) -> new DefaultCellModel<>(pair.getKey()),

Definition at line 51 of file

final ColumnModel<Pair<String, Long>, DefaultCellModel<?> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.COUNT_COL
Initial value:
= new ColumnModel<>(
(pair) -> new DefaultCellModel<>(pair.getValue()),

Definition at line 58 of file

final List<DataFetchComponents<DataSource, ?> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.dataFetchComponents

Definition at line 77 of file

List<ColumnModel<Pair<String, Long>, DefaultCellModel<?> > > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.DEFAULT_TEMPLATE = Arrays.asList(CASE_COL, COUNT_COL)

Definition at line 66 of file

final IngestRunningLabel org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.ingestRunningLabel = new IngestRunningLabel()

Definition at line 79 of file

final JTablePanel<Pair<String, Long> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.notableFileTable = JTablePanel.getJTablePanel(DEFAULT_TEMPLATE)

Definition at line 68 of file

final DataFetcher<DataSource, PastCasesResult> org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.pastCasesFetcher

Definition at line 81 of file

final JTablePanel<Pair<String, Long> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.sameIdTable = JTablePanel.getJTablePanel(DEFAULT_TEMPLATE)

Definition at line 70 of file

final long org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.serialVersionUID = 1L

Definition at line 48 of file

final List<JTablePanel<?> > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.tables
Initial value:
= Arrays.asList(

Definition at line 72 of file

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.