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

Inherits org.sleuthkit.autopsy.casemodule.events.TskDataModelChangedEvent< Person, Long >.

Public Member Functions

 HostsRemovedFromPersonEvent (Person person, List< Long > hostIds)
 
List< Long > getHostIds ()
 
List< U > getNewValue ()
 
List< T > getOldValue ()
 
Person getPerson ()
 

Protected Member Functions

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

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Application events published when one or more hosts have been removed from a person.

Definition at line 35 of file HostsRemovedFromPersonEvent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.events.HostsRemovedFromPersonEvent.HostsRemovedFromPersonEvent ( Person  person,
List< Long >  hostIds 
)

Constructs an application event published when one or more hosts have been removed from a person.

Parameters
personThe person.
hostIdsThe host IDs of the removed hosts.

Definition at line 46 of file HostsRemovedFromPersonEvent.java.

References org.sleuthkit.autopsy.casemodule.Case.Events.HOSTS_REMOVED_FROM_PERSON.

Member Function Documentation

List<Long> org.sleuthkit.autopsy.casemodule.events.HostsRemovedFromPersonEvent.getHostIds ( )

Gets the host IDs of the removed hosts.

Returns
The host IDs.

Definition at line 64 of file HostsRemovedFromPersonEvent.java.

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

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.HostsRemovedFromPersonEvent::getHostIds().

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

Definition at line 81 of file HostsRemovedFromPersonEvent.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.

Referenced by org.sleuthkit.autopsy.casemodule.events.HostsRemovedFromPersonEvent::getPerson().

List<Person> org.sleuthkit.autopsy.casemodule.events.HostsRemovedFromPersonEvent.getOldValueObjects ( SleuthkitCase  caseDb,
List< Long >  ids 
) throws TskCoreException
protected

Definition at line 69 of file HostsRemovedFromPersonEvent.java.

Person org.sleuthkit.autopsy.casemodule.events.HostsRemovedFromPersonEvent.getPerson ( )

Member Data Documentation

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

Definition at line 37 of file HostsRemovedFromPersonEvent.java.


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

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