|
Autopsy
4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
| class | AccountsQueryCallback |
| class | CentralRepoAccountType |
Public Member Functions | |
| CentralRepoAccount (long accountId, CentralRepoAccountType accountType, String typeSpecificIdentifier) | |
| boolean | equals (Object obj) |
| CentralRepoAccountType | getAccountType () |
| long | getId () |
| String | getIdentifier () |
| int | hashCode () |
Static Public Member Functions | |
| static Collection< CentralRepoAccount > | getAccountsWithIdentifier (String accountIdentifier) throws InvalidAccountIDException, CentralRepoException |
| static Collection< CentralRepoAccount > | getAccountsWithIdentifierLike (String accountIdentifierSubstring) throws CentralRepoException |
| static Collection< CentralRepoAccount > | getAllAccounts () throws CentralRepoException |
| static String | normalizeAccountIdentifier (CentralRepoAccountType crAccountType, String accountIdentifier) throws InvalidAccountIDException |
Static Private Member Functions | |
| static String | normalizeAccountIdentifier (String accountIdentifier) throws InvalidAccountIDException |
Private Attributes | |
| final long | accountId |
| final CentralRepoAccountType | accountType |
| final String | typeSpecificIdentifier |
Static Private Attributes | |
| static final String | ACCOUNTS_QUERY_CLAUSE |
This class abstracts an Account as stored in the CR database.
Definition at line 35 of file CentralRepoAccount.java.
| org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccount | ( | long | accountId, |
| CentralRepoAccountType | accountType, | ||
| String | typeSpecificIdentifier | ||
| ) |
Definition at line 109 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.accountId, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.accountType, and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.typeSpecificIdentifier.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.AccountsQueryCallback.process().
| boolean org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals | ( | Object | obj | ) |
Definition at line 153 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccount(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountType(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getId(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getIdentifier().
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals().
|
static |
Get all accounts with account identifier matching the given identifier.
| accountIdentifier | Account identifier to look for. |
| CentralRepoException | If there is an error in getting the accounts. |
Definition at line 248 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.ACCOUNTS_QUERY_CLAUSE, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.executeQuery(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.normalizeAccountIdentifier().
Referenced by org.sleuthkit.autopsy.centralrepository.persona.PersonaAccountDialog.okBtnActionPerformed().
|
static |
Get all accounts with account identifier matching the given substring.
| accountIdentifierSubstring | Account identifier substring to look for. |
| CentralRepoException | If there is an error in getting the accounts. |
Definition at line 223 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.ACCOUNTS_QUERY_CLAUSE, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.executeQuery(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().
| CentralRepoAccountType org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountType | ( | ) |
Gets the account type
Definition at line 130 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.accountType.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals(), and org.sleuthkit.autopsy.centralrepository.datamodel.PersonaAccount.getPersonaAccountsForAccount().
|
static |
Get all central repo accounts.
| CentralRepoException | If there is an error in getting the accounts. |
Definition at line 272 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.ACCOUNTS_QUERY_CLAUSE, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.executeQuery(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().
| long org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getId | ( | ) |
Gets the unique row id for this account in the database.
Definition at line 139 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.accountId.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrFromAcctArtifact().
| String org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getIdentifier | ( | ) |
Gets unique identifier (assigned by a provider) for the account. Example includes an email address, a phone number, or a website username.
Definition at line 121 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.typeSpecificIdentifier.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.equals().
| int org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.hashCode | ( | ) |
Definition at line 144 of file CentralRepoAccount.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccountType.hashCode().
|
staticprivate |
Attempts to normalize an account identifier, after trying to guess the account type.
| accountIdentifier | Account identifier to be normalized. |
| InvalidAccountIDException | If the account identifier is not valid. |
Definition at line 293 of file CentralRepoAccount.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountsWithIdentifier().
|
static |
Normalizes an account identifier, based on the given account type.
| crAccountType | Account type. |
| accountIdentifier | Account identifier to be normalized. |
| InvalidAccountIDException | If the account identifier is invalid. |
Definition at line 322 of file CentralRepoAccount.java.
|
private |
Definition at line 38 of file CentralRepoAccount.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccount(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getId().
|
staticprivate |
Definition at line 204 of file CentralRepoAccount.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountsWithIdentifier(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountsWithIdentifierLike(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAllAccounts().
|
private |
Definition at line 40 of file CentralRepoAccount.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccount(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getAccountType().
|
private |
Definition at line 43 of file CentralRepoAccount.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.CentralRepoAccount(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoAccount.getIdentifier().
Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.