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

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

Public Member Functions

 UserActivityPanel ()
 
 UserActivityPanel (UserActivitySummary userActivityData)
 
void close ()
 

Protected Member Functions

void fetchInformation (DataSource dataSource)
 
void fetchInformation (List< DataFetchComponents< DataSource,?>> dataFetchComponents, DataSource dataSource)
 
CellModelTableCellRenderer.MenuItem getArtifactNavigateItem (BlackboardArtifact artifact)
 
synchronized DataSource getDataSource ()
 
CellModelTableCellRenderer.MenuItem getFileNavigateItem (String path)
 
CellModelTableCellRenderer.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)
 

Private Member Functions

List< MenuItemgetPopup (LastAccessedArtifact record)
 
String getShortFolderName (String path, String appName)
 
void initComponents ()
 

Static Private Member Functions

static String getFormatted (Date date)
 

Private Attributes

final List< DataFetchComponents< DataSource,?> > dataFetchComponents
 
final IngestRunningLabel ingestRunningLabel = new IngestRunningLabel()
 
final JTablePanel< TopDomainsResultrecentDomainsTable
 
final List< JTablePanel<?> > tables
 
final JTablePanel< TopAccountResulttopAccountsTable
 
final JTablePanel< TopDeviceAttachedResulttopDevicesAttachedTable
 
final JTablePanel< TopProgramsResulttopProgramsTable
 
final JTablePanel< TopWebSearchResulttopWebSearchesTable
 
final UserActivitySummary userActivityData
 

Static Private Attributes

static final String ANDROID_FACTORY = "org.python.proxies.module$AndroidModuleFactory"
 
static final String ANDROID_MODULE_NAME = "Android Analyzer"
 
static final DateFormat DATETIME_FORMAT = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.getDefault())
 
static final long serialVersionUID = 1L
 
static final int TOP_ACCOUNTS_COUNT = 5
 
static final int TOP_DEVICES_COUNT = 10
 
static final int TOP_DOMAINS_COUNT = 10
 
static final int TOP_PROGS_COUNT = 10
 
static final int TOP_SEARCHES_COUNT = 10
 

Detailed Description

A panel to display user activity.

Definition at line 66 of file UserActivityPanel.java.

Constructor & Destructor Documentation

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

Creates a new UserActivityPanel.

Definition at line 270 of file UserActivityPanel.java.

org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.UserActivityPanel ( UserActivitySummary  userActivityData)

Member Function Documentation

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

Definition at line 337 of file UserActivityPanel.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 418 of file BaseDataSourceSummaryPanel.java.

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

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

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

Definition at line 247 of file BaseDataSourceSummaryPanel.java.

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

Definition at line 378 of file BaseDataSourceSummaryPanel.java.

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

Creates a menu item to navigate to a file.

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

Definition at line 295 of file BaseDataSourceSummaryPanel.java.

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

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

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

Definition at line 323 of file BaseDataSourceSummaryPanel.java.

static String org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.getFormatted ( Date  date)
staticprivate

Gets a string formatted date or returns empty string if the date is null.

Parameters
dateThe date.
Returns
The formatted date string or empty string if the date is null.

Definition at line 85 of file UserActivityPanel.java.

List<MenuItem> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.getPopup ( LastAccessedArtifact  record)
private

Takes a base class of LastAccessedArtifact and provides the pertinent menu items. going to artifact.

Parameters
recordThe LastAccessedArtifact instance.
Returns
The menu items list containing one action or navigating to the appropriate artifact and closing the data source summary dialog if open.

Definition at line 320 of file UserActivityPanel.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.UserActivitySummary.LastAccessedArtifact.getArtifact().

String org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.getShortFolderName ( String  path,
String  appName 
)
private

Queries DataSourceTopProgramsSummary instance for short folder name.

Parameters
pathThe path for the application.
appNameThe application name.
Returns
The underlying short folder name if one exists.

Definition at line 332 of file UserActivityPanel.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.UserActivitySummary.getShortFolderName().

void org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.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 359 of file UserActivityPanel.java.

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

Sends event that parent should close.

Definition at line 360 of file BaseDataSourceSummaryPanel.java.

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

Definition at line 342 of file UserActivityPanel.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 452 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 388 of file BaseDataSourceSummaryPanel.java.

Member Data Documentation

final String org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.ANDROID_FACTORY = "org.python.proxies.module$AndroidModuleFactory"
staticprivate

Definition at line 75 of file UserActivityPanel.java.

final String org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.ANDROID_MODULE_NAME = "Android Analyzer"
staticprivate

Definition at line 76 of file UserActivityPanel.java.

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

Definition at line 264 of file UserActivityPanel.java.

final DateFormat org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.DATETIME_FORMAT = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.getDefault())
staticprivate

Definition at line 69 of file UserActivityPanel.java.

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

Definition at line 262 of file UserActivityPanel.java.

final JTablePanel<TopDomainsResult> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.recentDomainsTable
private
Initial value:
= JTablePanel.getJTablePanel(Arrays.asList(
new ColumnModel<TopDomainsResult>(
Bundle.UserActivityPanel_TopDomainsTableModel_domain_header(),
(recentDomain) -> {
return new DefaultCellModel(recentDomain.getDomain())
.setPopupMenu(getPopup(recentDomain));
},
250),
new ColumnModel<>(
Bundle.UserActivityPanel_TopDomainsTableModel_count_header(),
(recentDomain) -> {
String visitTimes = recentDomain.getVisitTimes() == null ? "" : Long.toString(recentDomain.getVisitTimes());
return new DefaultCellModel(visitTimes)
.setPopupMenu(getPopup(recentDomain));
},
100),
new ColumnModel<>(
Bundle.UserActivityPanel_TopDomainsTableModel_lastAccess_header(),
(recentDomain) -> {
return new DefaultCellModel(getFormatted(recentDomain.getLastAccessed()))
.setPopupMenu(getPopup(recentDomain));
},
150)
))
.setKeyFunction((domain) -> domain.getDomain())

Definition at line 133 of file UserActivityPanel.java.

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

Definition at line 68 of file UserActivityPanel.java.

final List<JTablePanel<?> > org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.tables
private
final int org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.TOP_ACCOUNTS_COUNT = 5
staticprivate

Definition at line 73 of file UserActivityPanel.java.

final int org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.TOP_DEVICES_COUNT = 10
staticprivate

Definition at line 74 of file UserActivityPanel.java.

final int org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.TOP_DOMAINS_COUNT = 10
staticprivate

Definition at line 71 of file UserActivityPanel.java.

final int org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.TOP_PROGS_COUNT = 10
staticprivate

Definition at line 70 of file UserActivityPanel.java.

final int org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.TOP_SEARCHES_COUNT = 10
staticprivate

Definition at line 72 of file UserActivityPanel.java.

final JTablePanel<TopAccountResult> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.topAccountsTable
private
Initial value:
= JTablePanel.getJTablePanel(Arrays.asList(
new ColumnModel<TopAccountResult>(
Bundle.UserActivityPanel_TopAccountTableModel_accountType_header(),
(account) -> {
return new DefaultCellModel(account.getAccountType())
.setPopupMenu(getPopup(account));
},
250
),
new ColumnModel<>(
Bundle.UserActivityPanel_TopAccountTableModel_lastAccess_header(),
(account) -> {
return new DefaultCellModel(getFormatted(account.getLastAccessed()))
.setPopupMenu(getPopup(account));
},
150
)
))
.setKeyFunction((topAccount) -> topAccount.getAccountType())

Definition at line 232 of file UserActivityPanel.java.

final JTablePanel<TopDeviceAttachedResult> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.topDevicesAttachedTable
private

Definition at line 195 of file UserActivityPanel.java.

final JTablePanel<TopProgramsResult> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.topProgramsTable
private

Definition at line 90 of file UserActivityPanel.java.

final JTablePanel<TopWebSearchResult> org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.topWebSearchesTable
private
Initial value:
= JTablePanel.getJTablePanel(Arrays.asList(
new ColumnModel<TopWebSearchResult>(
Bundle.UserActivityPanel_TopWebSearchTableModel_searchString_header(),
(webSearch) -> {
return new DefaultCellModel(webSearch.getSearchString())
.setPopupMenu(getPopup(webSearch));
},
250
),
new ColumnModel<>(
Bundle.UserActivityPanel_TopWebSearchTableModel_dateAccessed_header(),
(webSearch) -> {
return new DefaultCellModel(getFormatted(webSearch.getLastAccessed()))
.setPopupMenu(getPopup(webSearch));
},
150
),
new ColumnModel<>(
Bundle.UserActivityPanel_TopWebSearchTableModel_translatedResult_header(),
(webSearch) -> {
return new DefaultCellModel(webSearch.getTranslatedResult())
.setPopupMenu(getPopup(webSearch));
},
250
)
))
.setKeyFunction((query) -> query.getSearchString())

Definition at line 163 of file UserActivityPanel.java.

final UserActivitySummary org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel.userActivityData
private

Definition at line 265 of file UserActivityPanel.java.


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

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