Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask Class Reference

Inherits Runnable.

Public Member Functions

void run ()
 

Private Member Functions

 ContentTagTask (CentralRepository db, PropertyChangeEvent evt)
 
void handleTagAdded (ContentTagAddedEvent evt)
 
void handleTagChange (Content content)
 
void handleTagDeleted (ContentTagDeletedEvent evt)
 
void setContentKnownStatus (AbstractFile af, TskData.FileKnown knownStatus)
 

Private Attributes

final CentralRepository dbManager
 
final PropertyChangeEvent event
 

Detailed Description

Definition at line 217 of file CaseEventListener.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.ContentTagTask ( CentralRepository  db,
PropertyChangeEvent  evt 
)
private

Definition at line 222 of file CaseEventListener.java.

Member Function Documentation

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.handleTagAdded ( ContentTagAddedEvent  evt)
private

Definition at line 268 of file CaseEventListener.java.

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.handleTagChange ( Content  content)
private

When a tag is added or deleted, check if there are other notable tags for the item. If there are, set known status as notable. If not set status as unknown.

Parameters
contentThe content for the tag that was added or deleted.

Definition at line 286 of file CaseEventListener.java.

References org.sleuthkit.autopsy.casemodule.services.TagsManager.getContentTagsByContent(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager().

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.handleTagDeleted ( ContentTagDeletedEvent  evt)
private
void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.run ( )
void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.setContentKnownStatus ( AbstractFile  af,
TskData.FileKnown  knownStatus 
)
private

Sets the known status for the correlation attribute instance for the given abstract file.

Parameters
afThe abstract file for which to set the correlation attribute instance.
knownStatusThe new known status for the correlation attribute instance.

Definition at line 324 of file CaseEventListener.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrsForSearch(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.setAttributeInstanceKnownStatus().

Member Data Documentation

final CentralRepository org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.dbManager
private

Definition at line 219 of file CaseEventListener.java.

final PropertyChangeEvent org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.event
private

Definition at line 220 of file CaseEventListener.java.


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

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