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

Inherits AbstractAction.

Public Member Functions

 EditPersonAction (Person person)
 
void actionPerformed (ActionEvent e)
 

Private Member Functions

String getEditedPersonName (Person person) throws NoCurrentCaseException, TskCoreException
 

Private Attributes

final Person person
 

Static Private Attributes

static final Logger logger = Logger.getLogger(EditPersonAction.class.getName())
 

Detailed Description

Action to edit the specified person.

Definition at line 42 of file EditPersonAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.persons.EditPersonAction.EditPersonAction ( Person  person)

Main constructor.

Parameters
personThe person to be edited.

Definition at line 53 of file EditPersonAction.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.persons.EditPersonAction.actionPerformed ( ActionEvent  e)
String org.sleuthkit.autopsy.datamodel.persons.EditPersonAction.getEditedPersonName ( Person  person) throws NoCurrentCaseException, TskCoreException
private

Presents a dialog that will allow the user to edit the person's name.

Parameters
personThe person.
Returns
The edited person's name or null if cancelled..
Exceptions
NoCurrentCaseException
TskCoreException

Definition at line 86 of file EditPersonAction.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.datamodel.persons.AddEditPersonDialog.getValue(), and org.sleuthkit.autopsy.datamodel.persons.AddEditPersonDialog.isChanged().

Member Data Documentation

final Logger org.sleuthkit.autopsy.datamodel.persons.EditPersonAction.logger = Logger.getLogger(EditPersonAction.class.getName())
staticprivate

Definition at line 44 of file EditPersonAction.java.

final Person org.sleuthkit.autopsy.datamodel.persons.EditPersonAction.person
private

Definition at line 46 of file EditPersonAction.java.


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

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