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

Inherits org.sleuthkit.autopsy.events.AutopsyEvent, and Serializable.

Public Member Functions

 CommentChangedEvent (long contentId, String newComment) throws NoCurrentCaseException
 
long getContentID ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Private Attributes

final String caseName
 
final long contentID
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Event published when a central repsoitory comment is changed

Definition at line 29 of file CommentChangedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.CommentChangedEvent ( long  contentId,
String  newComment 
) throws NoCurrentCaseException

Constructs a CommentChangedEvent which is published when a central repository comment is changed.

Parameters
contentIdthe objectId of the Content which has had its central repository comment changed
newCommentthe new value of the comment
Exceptions
org.sleuthkit.autopsy.casemodule.NoCurrentCaseExceptionif there is no current case open when this event is sent

Definition at line 44 of file CommentChangedEvent.java.

References org.sleuthkit.autopsy.casemodule.Case.Events.CR_COMMENT_CHANGED, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getName().

Member Function Documentation

long org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.getContentID ( )

Get the object id of the content which this event is associated with.

Returns
the objectId of the content this event is associated with

Definition at line 57 of file CommentChangedEvent.java.

References org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.contentID.

Object org.sleuthkit.autopsy.events.AutopsyEvent.getSource ( )
inherited

Gets the event source type (local or remote) as a string.

Returns
A string, either "LOCAL" or "REMOTE."

Definition at line 88 of file AutopsyEvent.java.

SourceType org.sleuthkit.autopsy.events.AutopsyEvent.getSourceType ( )
inherited

Member Data Documentation

final String org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.caseName
private

Definition at line 34 of file CommentChangedEvent.java.

final long org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.contentID
private
final long org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.serialVersionUID = 1L
staticprivate

Definition at line 31 of file CommentChangedEvent.java.


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

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