Skip to content
Snippets Groups Projects
Commit 5fc7c23f authored by Kelly Kelly's avatar Kelly Kelly
Browse files

Added a comment for the new function

parent be047896
No related branches found
No related tags found
No related merge requests found
...@@ -1249,6 +1249,14 @@ public List<AccountFileInstance> getAccountFileInstances(Account account) throws ...@@ -1249,6 +1249,14 @@ public List<AccountFileInstance> getAccountFileInstances(Account account) throws
} }
} }
/**
* Gets a list of the distinct account types that can currently be found in
* the case db.
*
* @return A list of distinct accounts or an empty list.
*
* @throws TskCoreException
*/
public List<Account.Type> getAccountTypesInUse() throws TskCoreException{ public List<Account.Type> getAccountTypesInUse() throws TskCoreException{
CaseDbConnection connection = db.getConnection(); CaseDbConnection connection = db.getConnection();
db.acquireSingleUserCaseReadLock(); db.acquireSingleUserCaseReadLock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment