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

Inherits org.sleuthkit.autopsy.events.AutopsyEvent.

Inherited by org.sleuthkit.autopsy.casemodule.events.HostsDeletedEvent, org.sleuthkit.autopsy.casemodule.events.OsAccountsDeletedEvent, org.sleuthkit.autopsy.casemodule.events.PersonsDeletedEvent, org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.TagNamesDeletedEvent, and org.sleuthkit.autopsy.casemodule.events.TagSetsEvent.TagSetsDeletedEvent.

Public Member Functions

List< Long > getOldValue ()
 
Object getSource ()
 
SourceType getSourceType ()
 

Protected Member Functions

 TskDataModelObjectsDeletedEvent (String eventName, List< Long > deletedObjectIds)
 

Private Attributes

final List< Long > deletedObjectIds
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

An abstract base class for application events published when one or more Sleuth Kit Data Model objects for a case have been deleted.

This class extends AutopsyEvent. The AutopsyEvent class extends PropertyChangeEvent to integrate with legacy use of JavaBeans PropertyChangeEvents and PropertyChangeListeners as an application event publisher-subcriber mechanism. Subclasses need to decide what constitutes "old" and "new" objects for them.

For this class the "old" values are the unique numeric IDs (TSK object IDs, case database row IDs, etc.) of the deleted TSK Data Model objects. There are no "new" values. Subclasses are encouraged to provide less generic getters with descriptive names for the unique IDs than the override of the inherited getOldValue() method below. These getters can be implemented by delegating to getOldValue().

Definition at line 43 of file TskDataModelObjectsDeletedEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.events.TskDataModelObjectsDeletedEvent.TskDataModelObjectsDeletedEvent ( String  eventName,
List< Long >  deletedObjectIds 
)
protected

Definition at line 49 of file TskDataModelObjectsDeletedEvent.java.

Member Function Documentation

List<Long> org.sleuthkit.autopsy.casemodule.events.TskDataModelObjectsDeletedEvent.getOldValue ( )
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 List<Long> org.sleuthkit.autopsy.casemodule.events.TskDataModelObjectsDeletedEvent.deletedObjectIds
private

Definition at line 47 of file TskDataModelObjectsDeletedEvent.java.

final long org.sleuthkit.autopsy.casemodule.events.TskDataModelObjectsDeletedEvent.serialVersionUID = 1L
staticprivate

Definition at line 45 of file TskDataModelObjectsDeletedEvent.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.