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

Inherits org.sleuthkit.autopsy.datamodel.DisplayableItemNode.


class  PersonChildren

Public Member Functions

Action[] getActions (boolean context)
NodeSelectionInfo getChildNodeSelectionInfo ()
String getItemType ()
boolean isLeafTypeNode ()
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)

Static Public Member Functions

static String getUnknownPersonId ()

Protected Member Functions

Sheet createSheet ()
synchronized final void updatePropertySheet (NodeProperty<?>...newProps)

Private Member Functions

 PersonNode (Person person, String displayName)

Static Private Member Functions

static String getDisplayName (Person person)

Private Attributes

final Person person
final PropertyChangeListener personChangePcl
final Long personId
final PropertyChangeListener weakPcl = WeakListeners.propertyChange(personChangePcl, null)

Static Private Attributes

static final String ICON_PATH = "org/sleuthkit/autopsy/images/person.png"

Detailed Description

A main tree view node that represents a person in a case. Its child nodes, if any, represent hosts in the case. There must be at least one person in a case for the person nodes layer to appear. If the persons layer is present, any hosts that are not associated with a person are grouped under an "Unknown Persons" person node.

Definition at line 55 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.PersonNode.PersonNode ( Person  person,
String  displayName 


personThe person.
displayNameThe display name for the person.

Definition at line 211 of file

References org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), and org.sleuthkit.autopsy.casemodule.Case.Events.PERSONS_UPDATED.

Member Function Documentation

Sheet org.sleuthkit.autopsy.datamodel.PersonNode.createSheet ( )

Definition at line 240 of file

Action [] org.sleuthkit.autopsy.datamodel.PersonNode.getActions ( boolean  context)

Definition at line 256 of file

NodeSelectionInfo org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getChildNodeSelectionInfo ( )

Gets information about which child node of this node, if any, should be selected.

The child node selection information, or null if no child should be selected.

Definition at line 142 of file

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

static String org.sleuthkit.autopsy.datamodel.PersonNode.getDisplayName ( Person  person)

Gets the display name for this person or "Unknown Persons".

personThe person.
The non-empty string for the display name.

Definition at line 190 of file

String org.sleuthkit.autopsy.datamodel.PersonNode.getItemType ( )

Definition at line 228 of file

static String org.sleuthkit.autopsy.datamodel.PersonNode.getUnknownPersonId ( )
boolean org.sleuthkit.autopsy.datamodel.PersonNode.isLeafTypeNode ( )

Definition at line 223 of file

void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo ( NodeSelectionInfo  selectedChildNodeInfo)

Adds information about which child node of this node, if any, should be selected. Can be null.

selectedChildNodeInfoThe child node selection information.

Definition at line 131 of file

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.setNodeSelection(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewOsAccount().

synchronized final void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.updatePropertySheet ( NodeProperty<?>...  newProps)

Updates the node property sheet by replacing existing properties with new properties with the same property name.

newPropsThe replacement property objects.

Definition at line 152 of file

Member Data Documentation

final String org.sleuthkit.autopsy.datamodel.PersonNode.ICON_PATH = "org/sleuthkit/autopsy/images/person.png"

Definition at line 57 of file

final Person org.sleuthkit.autopsy.datamodel.PersonNode.person

Definition at line 158 of file

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.PersonNode.personChangePcl
Initial value:
= new PropertyChangeListener() {
public void propertyChange(PropertyChangeEvent evt) {
String eventType = evt.getPropertyName();
if (personId != null && eventType.equals(Case.Events.PERSONS_UPDATED.toString()) && evt instanceof PersonsUpdatedEvent) {
((PersonsUpdatedEvent) evt).getNewValue().stream()
.filter(p -> p != null && p.getPersonId() == personId)
.ifPresent((newPerson) -> {

Listener for application events that are published when the properties of persons in the case change.

Definition at line 165 of file

final Long org.sleuthkit.autopsy.datamodel.PersonNode.personId

Definition at line 159 of file

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.PersonNode.weakPcl = WeakListeners.propertyChange(personChangePcl, null)

Definition at line 181 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.