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

Classes

class  AccountsForPersonaQueryCallback
 
class  PersonaAccountsQueryCallback
 

Public Member Functions

boolean equals (Object obj)
 
CentralRepoAccount getAccount ()
 
Persona.Confidence getConfidence ()
 
long getDateAdded ()
 
CentralRepoExaminer getExaminer ()
 
long getId ()
 
String getJustification ()
 
Persona getPersona ()
 
int hashCode ()
 

Static Public Member Functions

static Collection< PersonaAccountgetPersonaAccountsForAccount (long accountId) throws CentralRepoException
 
static Collection< PersonaAccountgetPersonaAccountsForAccount (Account account) throws CentralRepoException
 
static Collection< PersonaAccountgetPersonaAccountsForIdentifierLike (String accountIdentifierSubstring) throws CentralRepoException
 

Private Member Functions

 PersonaAccount (long id, Persona persona, CentralRepoAccount account, String justification, Persona.Confidence confidence, long dateAdded, CentralRepoExaminer examiner)
 

Static Private Member Functions

static CentralRepository getCRInstance () throws CentralRepoException
 

Private Attributes

final CentralRepoAccount account
 
final Persona.Confidence confidence
 
final long dateAdded
 
final CentralRepoExaminer examiner
 
final long id
 
final String justification
 
final Persona persona
 

Static Private Attributes

static final String PERSONA_ACCOUNTS_QUERY_CLAUSE
 

Detailed Description

This class represents an association between a Persona and an Account.

A Persona has at least one, possibly more, accounts associated with it.

Definition at line 41 of file PersonaAccount.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.PersonaAccount ( long  id,
Persona  persona,
CentralRepoAccount  account,
String  justification,
Persona.Confidence  confidence,
long  dateAdded,
CentralRepoExaminer  examiner 
)
private

Member Function Documentation

boolean org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.equals ( Object  obj)
CentralRepoAccount org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getAccount ( )
Persona.Confidence org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getConfidence ( )
static CentralRepository org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getCRInstance ( ) throws CentralRepoException
staticprivate
long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getDateAdded ( )
CentralRepoExaminer org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getExaminer ( )
long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getId ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getJustification ( )
Persona org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getPersona ( )
static Collection<PersonaAccount> org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getPersonaAccountsForAccount ( long  accountId) throws CentralRepoException
static
static Collection<PersonaAccount> org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getPersonaAccountsForAccount ( Account  account) throws CentralRepoException
static
static Collection<PersonaAccount> org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getPersonaAccountsForIdentifierLike ( String  accountIdentifierSubstring) throws CentralRepoException
static

Gets all the Persona associated with all the accounts matching the given account identifier substring.

Parameters
accountIdentifierSubstringAccount identifier substring to search for.
Returns
Collection of PersonaAccounts. may be empty.
Exceptions
CentralRepoExceptionIf there is an error in getting the persona_account.

Definition at line 310 of file PersonaAccount.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.Persona.PersonaStatus.DELETED, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.executeQuery(), and org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getCRInstance().

int org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.hashCode ( )

Definition at line 90 of file PersonaAccount.java.

Member Data Documentation

final CentralRepoAccount org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.account
private
final Persona.Confidence org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.confidence
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.dateAdded
private
final CentralRepoExaminer org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.examiner
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.id
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.justification
private
final Persona org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.persona
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.PERSONA_ACCOUNTS_QUERY_CLAUSE
staticprivate
Initial value:
= "SELECT persona_accounts.id as persona_accounts_id, justification, confidence_id, date_added, persona_accounts.examiner_id as pa_examiner_id, pa_examiner.login_name as pa_examiner_login_name, pa_examiner.display_name as pa_examiner_display_name,"
+ " personas.id as persona_id, personas.uuid, personas.name, personas.comment, personas.created_date, personas.modified_date, personas.status_id, "
+ " personas.examiner_id as persona_examiner_id, persona_examiner.login_name as persona_examiner_login_name, persona_examiner.display_name as persona_examiner_display_name, "
+ " accounts.id as account_id, account_type_id, account_unique_identifier,"
+ " account_types.type_name as type_name "
+ " FROM persona_accounts as persona_accounts "
+ " JOIN personas as personas on persona_accounts.persona_id = personas.id "
+ " JOIN accounts as accounts on persona_accounts.account_id = accounts.id "
+ " JOIN account_types as account_types on accounts.account_type_id = account_types.id "
+ " JOIN examiners as pa_examiner ON pa_examiner.id = persona_accounts.examiner_id "
+ " JOIN examiners as persona_examiner ON persona_examiner.id = personas.examiner_id "

Definition at line 239 of file PersonaAccount.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.