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

Inherits org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< TagName, TagName >.

Inherited by org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.TagNamesAddedEvent, and org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.TagNamesUpdatedEvent.

Classes

class  TagNamesAddedEvent
 
class  TagNamesDeletedEvent
 
class  TagNamesUpdatedEvent
 

Public Member Functions

List< U > getNewValue ()
 
List< T > getOldValue ()
 
List< TagName > getTagNames ()
 

Protected Member Functions

List< TagName > getNewValueObjects (SleuthkitCase caseDb, List< Long > ids) throws TskCoreException
 
List< T > getOldValueObjects (SleuthkitCase caseDb, List< Long > ids) throws TskCoreException
 

Private Member Functions

 TagNamesEvent (String eventName, List< TagName > tagNames)
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

A base class for TagName added and update events.

Definition at line 32 of file TagNamesEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.TagNamesEvent ( String  eventName,
List< TagName >  tagNames 
)
private

Construct the base event for TagNames that have been added or updated.

Parameters
eventNameThe name of the event.
tagNamesThe TagNames that have been modified.

Definition at line 42 of file TagNamesEvent.java.

Member Function Documentation

List<U> org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< T, U >.getNewValue ( )
inherited

Gets a list of the Data Model objects that have been designated as the "new" objects in the event.

Returns
The list of the "new" data model objects. May be empty.

Definition at line 149 of file TskDataModelChangedEvent.java.

Referenced by org.sleuthkit.autopsy.casemodule.events.TagNamesEvent::getTagNames().

List<TagName> org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.getNewValueObjects ( SleuthkitCase  caseDb,
List< Long >  ids 
) throws TskCoreException
protected

Definition at line 56 of file TagNamesEvent.java.

List<T> org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< T, U >.getOldValue ( )
inherited

Gets a list of the Data Model objects that have been designated as the "old" objects in the event.

Returns
The list of the "old" data model objects. May be empty.

Definition at line 124 of file TskDataModelChangedEvent.java.

List<T> org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< T, U >.getOldValueObjects ( SleuthkitCase  caseDb,
List< Long >  ids 
) throws TskCoreException
protectedinherited

Reconstructs the "old" Sleuth Kit Data Model objects associated with this application event, if any, using the given unique numeric IDs (TSK object IDs, case database row IDs, etc.) to query the given case database.

Parameters
caseDbThe case database.
idsThe unique, numeric IDs (TSK object IDs, case database row IDs, etc.) of the Sleuth Kit Data Model objects.
Returns
The objects.
Exceptions
org.sleuthkit.datamodel.TskCoreExceptionIf there is an error getting the Sleuth Kit Data Model objects.

Definition at line 182 of file TskDataModelChangedEvent.java.

List<TagName> org.sleuthkit.autopsy.casemodule.events.TagNamesEvent.getTagNames ( )

Returns a list of the added or modified TagNames.

Returns
The event list of TagNames.

Definition at line 51 of file TagNamesEvent.java.

References org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< TagName, TagName >.getNewValue().

Member Data Documentation

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

Definition at line 34 of file TagNamesEvent.java.


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

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