Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | 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 (PastCasesSummary pastCaseData)
 
void close ()
 

Protected Member Functions

void fetchInformation (DataSource dataSource)
 
void fetchInformation (List< DataFetchComponents< DataSource,?>> dataFetchComponents, DataSource dataSource)
 
synchronized DataSource getDataSource ()
 
String getDefaultNoIngestMessage (String moduleName)
 
IngestModuleCheckUtil getIngestModuleCheckUtil ()
 
void onNewDataSource (DataSource dataSource)
 
void onNewDataSource (List< DataFetchComponents< DataSource,?>> dataFetchComponents, List<?extends LoadableComponent<?>> loadableComponents, DataSource dataSource)
 
void submit (List<?extends SwingWorker<?,?>> workers)
 

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_COLUMNS)
 
final JTablePanel< Pair< String, Long > > sameIdTable = JTablePanel.getJTablePanel(DEFAULT_COLUMNS)
 
final List< JTablePanel<?> > tables
 

Static Private Attributes

static final ColumnModel< Pair< String, Long > > CASE_COL
 
static final ColumnModel< Pair< String, Long > > COUNT_COL
 
static final String CR_FACTORY = CentralRepoIngestModuleFactory.class.getName()
 
static final String CR_NAME = CentralRepoIngestModuleFactory.getModuleName()
 
static final List< ColumnModel< Pair< String, Long > > > DEFAULT_COLUMNS = 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 48 of file PastCasesPanel.java.

Constructor & Destructor Documentation

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

Definition at line 81 of file PastCasesPanel.java.

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

Member Function Documentation

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

Definition at line 134 of file PastCasesPanel.java.

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

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.

Parameters
dataFetchComponentsThe components to be run.
dataSourceThe data source argument.

Definition at line 292 of file BaseDataSourceSummaryPanel.java.

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

Definition at line 252 of file BaseDataSourceSummaryPanel.java.

String org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getDefaultNoIngestMessage ( String  moduleName)
protectedinherited

Get default message when there is a NotIngestedWithModuleException.

Parameters
exceptionThe moduleName.
Returns
Message specifying that the ingest module was not run.

Definition at line 355 of file BaseDataSourceSummaryPanel.java.

IngestModuleCheckUtil org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getIngestModuleCheckUtil ( )
protectedinherited

Utility method to return the IngestModuleCheckUtil.

Returns
The IngestModuleCheckUtil.

Definition at line 364 of file BaseDataSourceSummaryPanel.java.

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

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

Parameters
resultThe result.

Definition at line 105 of file PastCasesPanel.java.

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

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 156 of file PastCasesPanel.java.

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

Definition at line 139 of file PastCasesPanel.java.

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

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.

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

Definition at line 326 of file BaseDataSourceSummaryPanel.java.

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

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

Parameters
workersThe workers to submit for execution.

Definition at line 262 of file BaseDataSourceSummaryPanel.java.

Member Data Documentation

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

Definition at line 54 of file PastCasesPanel.java.

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

Definition at line 60 of file PastCasesPanel.java.

final String org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.CR_FACTORY = CentralRepoIngestModuleFactory.class.getName()
staticprivate

Definition at line 51 of file PastCasesPanel.java.

final String org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.CR_NAME = CentralRepoIngestModuleFactory.getModuleName()
staticprivate

Definition at line 52 of file PastCasesPanel.java.

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

Definition at line 77 of file PastCasesPanel.java.

final List<ColumnModel<Pair<String, Long> > > org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel.DEFAULT_COLUMNS = Arrays.asList(CASE_COL, COUNT_COL)
staticprivate

Definition at line 66 of file PastCasesPanel.java.

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

Definition at line 79 of file PastCasesPanel.java.

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

Definition at line 68 of file PastCasesPanel.java.

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

Definition at line 70 of file PastCasesPanel.java.

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

Definition at line 50 of file PastCasesPanel.java.

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

Definition at line 72 of file PastCasesPanel.java.


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

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