Autopsy  4.12.0
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 source type (local or remote) as a string. This is for clients that do not have access to the AutopsyEvent type, and is necessary because the events package is not currently a public package within the Autopsy-Core NetBeans Module (NBM).

Returns
A string, either "LOCAL" or "REMOTE", as an Object.

Definition at line 82 of file AutopsyEvent.java.

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

Gets the source type (local or remote).

Returns
SourceType The source type of the event, local or remote.

Definition at line 69 of file AutopsyEvent.java.

References org.sleuthkit.autopsy.events.AutopsyEvent.sourceType.

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-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.