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

Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.

Public Member Functions

 RecentFilesGetter ()
 
Set< Integer > getArtifactTypeIdsForRefresh ()
 
default Set< Case.Events > getCaseEventUpdates ()
 
default Set< IngestJobEventgetIngestJobEventUpdates ()
 
List< RecentAttachmentDetailsgetRecentAttachments (DataSource dataSource, int maxCount) throws SleuthkitCaseProviderException, TskCoreException
 
List< RecentDownloadDetailsgetRecentDownloads (DataSource dataSource, int maxCount) throws TskCoreException, SleuthkitCaseProviderException
 
List< RecentFileDetailsgetRecentlyOpenedDocuments (DataSource dataSource, int maxCount) throws SleuthkitCaseProviderException, TskCoreException
 
default boolean isRefreshRequired (ModuleDataEvent evt)
 
default boolean isRefreshRequired (ModuleContentEvent evt)
 
default boolean isRefreshRequired (IngestManager.IngestJobEvent evt)
 
default boolean isRefreshRequired (AbstractFile evt)
 
boolean isRefreshRequired (IngestJobEvent evt)
 
default boolean isRefreshRequiredForCaseEvent (PropertyChangeEvent evt)
 

Public Attributes

Set< IngestJobEventINGEST_JOB_EVENTS
 

Private Attributes

final RecentFilesSummary recentSummary
 

Static Private Attributes

static final Set< Integer > ARTIFACT_UPDATE_TYPE_IDS
 

Detailed Description

Wrapper class for converting org.sleuthkit.autopsy.contentutils.RecentFilesSummary functionality into a DefaultArtifactUpdateGovernor used by Recent Files Data Summary tab.

Definition at line 41 of file RecentFilesGetter.java.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 56 of file RecentFilesGetter.java.

Member Function Documentation

Set<Integer> org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.getArtifactTypeIdsForRefresh ( )
Returns
The set of artifact type id's that should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.

Definition at line 61 of file RecentFilesGetter.java.

default Set<Case.Events> org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.getCaseEventUpdates ( )
inherited
Returns
The set of Case Events for which data should be updated.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Definition at line 57 of file DefaultUpdateGovernor.java.

default Set<IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.getIngestJobEventUpdates ( )
inherited
List<RecentAttachmentDetails> org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.getRecentAttachments ( DataSource  dataSource,
int  maxCount 
) throws SleuthkitCaseProviderException, TskCoreException

Returns a list of the most recent message attachments.

Parameters
dataSourceData source to query.
maxCountMaximum number of results to return, passing 0 will return all results.
Returns
A list of RecentFileDetails of the most recent attachments.
Exceptions
SleuthkitCaseProviderException
TskCoreException

Definition at line 113 of file RecentFilesGetter.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.RecentFilesSummary.getRecentAttachments().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.RecentFilesPanel().

List<RecentDownloadDetails> org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.getRecentDownloads ( DataSource  dataSource,
int  maxCount 
) throws TskCoreException, SleuthkitCaseProviderException

Return a list of the most recent downloads based on the value of the the artifact TSK_DATETIME_ACCESSED attribute.

Parameters
dataSourceData source to query.
maxCountMaximum number of results to return, passing 0 will return all results.
Returns
A list of RecentFileDetails objects or empty list if none were found.
Exceptions
TskCoreException
SleuthkitCaseProviderException

Definition at line 97 of file RecentFilesGetter.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.RecentFilesSummary.getRecentDownloads().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.RecentFilesPanel().

List<RecentFileDetails> org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.getRecentlyOpenedDocuments ( DataSource  dataSource,
int  maxCount 
) throws SleuthkitCaseProviderException, TskCoreException

Return a list of the most recently opened documents based on the TSK_RECENT_OBJECT artifact.

Parameters
dataSourceThe data source to query.
maxCountThe maximum number of results to return, pass 0 to get a list of all results.
Returns
A list RecentFileDetails representing the most recently opened documents or an empty list if none were found.
Exceptions
SleuthkitCaseProviderException
TskCoreException

Definition at line 79 of file RecentFilesGetter.java.

References org.sleuthkit.autopsy.datasourcesummary.datamodel.RecentFilesSummary.getRecentlyOpenedDocuments().

Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.RecentFilesPanel().

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.isRefreshRequired ( ModuleDataEvent  evt)
inherited

Given a module data event, whether or not an update should occur.

Parameters
evtThe ModuleDataEvent that is occurring.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.

Definition at line 38 of file DefaultArtifactUpdateGovernor.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.getArtifactTypeIdsForRefresh(), and org.sleuthkit.autopsy.ingest.ModuleDataEvent.getBlackboardArtifactType().

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequired ( ModuleContentEvent  evt)
inherited

Given a module content event, whether or not an update should occur.

Parameters
evtThe ModuleContentEvent.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Implemented in org.sleuthkit.autopsy.datasourcesummary.ui.ContainerSummaryGetter, org.sleuthkit.autopsy.datasourcesummary.ui.TypesSummaryGetter, org.sleuthkit.autopsy.datasourcesummary.ui.MimeTypeSummaryGetter, and org.sleuthkit.autopsy.datasourcesummary.ui.TimelineSummaryGetter.

Definition at line 42 of file DefaultUpdateGovernor.java.

default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.isRefreshRequired ( IngestManager.IngestJobEvent  evt)
inherited
default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequired ( AbstractFile  evt)
inherited
boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.isRefreshRequired ( IngestJobEvent  evt)
inherited

Given an ingest job event, determines whether or not an update should occur.

Parameters
evtThe event.
Returns
Whether or not this event should trigger an update.
default boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.isRefreshRequiredForCaseEvent ( PropertyChangeEvent  evt)
inherited

Given a case event, whether or not an update should occur.

Parameters
evtThe event.
Returns
Whether or not this event should trigger an update.

Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.

Definition at line 37 of file DefaultUpdateGovernor.java.

Member Data Documentation

final Set<Integer> org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.ARTIFACT_UPDATE_TYPE_IDS
staticprivate
Initial value:
= new HashSet<>(Arrays.asList(
BlackboardArtifact.ARTIFACT_TYPE.TSK_RECENT_OBJECT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_WEB_DOWNLOAD.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_ASSOCIATED_OBJECT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_MESSAGE.getTypeID()
))

Definition at line 43 of file RecentFilesGetter.java.

Set<IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.INGEST_JOB_EVENTS
inherited
Initial value:
= new HashSet<>(
Arrays.asList(IngestJobEvent.COMPLETED, IngestJobEvent.CANCELLED))

Definition at line 34 of file DefaultArtifactUpdateGovernor.java.

Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.getIngestJobEventUpdates().

final RecentFilesSummary org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesGetter.recentSummary
private

Definition at line 51 of file RecentFilesGetter.java.


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

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