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

Inherits org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.

Public Member Functions

void actionPerformed (ActionEvent event)
 
JMenuItem getPopupPresenter ()
 

Static Public Member Functions

static synchronized ReplaceBlackboardArtifactTagAction getInstance ()
 

Protected Member Functions

String getActionDisplayName ()
 
void replaceTag (BlackboardArtifactTag oldArtifactTag, TagName newTagName, String newComment)
 
abstract void replaceTag (T oldTag, TagName newTagName, String comment)
 

Static Protected Attributes

static final String MENU_TEXT
 

Private Member Functions

 ReplaceBlackboardArtifactTagAction ()
 

Static Private Attributes

static ReplaceBlackboardArtifactTagAction instance
 
static final Logger logger = Logger.getLogger(ReplaceBlackboardArtifactTagAction.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

This Action allows users to replace a tag applied to blackboard artifacts, with another tag

Definition at line 41 of file ReplaceBlackboardArtifactTagAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.ReplaceBlackboardArtifactTagAction ( )
private

Member Function Documentation

void org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.actionPerformed ( ActionEvent  event)
inherited

Subclasses of replaceTagAction should not override actionPerformed, but instead override replaceTag.

Parameters
event

Definition at line 72 of file ReplaceTagAction.java.

String org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.getActionDisplayName ( )
protectedinherited

Definition at line 75 of file ReplaceTagAction.java.

static synchronized ReplaceBlackboardArtifactTagAction org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.getInstance ( )
static
JMenuItem org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.getPopupPresenter ( )
inherited

Definition at line 97 of file ReplaceTagAction.java.

void org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.replaceTag ( BlackboardArtifactTag  oldArtifactTag,
TagName  newTagName,
String  newComment 
)
protected

Replaces the specified tag on the given artifact with the new one

Parameters
oldArtifactTagtag to be replaced
newTagNamename of the tag to replace with
newCommentthe newComment for the tag use an empty string for no newComment

Definition at line 74 of file ReplaceBlackboardArtifactTagAction.java.

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

abstract void org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.replaceTag ( oldTag,
TagName  newTagName,
String  comment 
)
abstractprotectedinherited

Method to actually replace the selected tag with the given new tag

Parameters
oldTag- the TagName which is being removed from the item
newTagName- the TagName which is being added to the itme
commentthe comment associated with the tag, empty string for no comment

Member Data Documentation

ReplaceBlackboardArtifactTagAction org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.instance
staticprivate
final Logger org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.logger = Logger.getLogger(ReplaceBlackboardArtifactTagAction.class.getName())
staticprivate

Definition at line 43 of file ReplaceBlackboardArtifactTagAction.java.

final String org.sleuthkit.autopsy.actions.ReplaceTagAction< T extends Tag >.MENU_TEXT
staticprotectedinherited
Initial value:
= NbBundle.getMessage(ReplaceTagAction.class,
"ReplaceTagAction.replaceTag")

Definition at line 57 of file ReplaceTagAction.java.

final long org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.serialVersionUID = 1L
staticprivate

Definition at line 44 of file ReplaceBlackboardArtifactTagAction.java.


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

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