19 package org.sleuthkit.autopsy.casemodule.events;
21 import java.util.ArrayList;
22 import java.util.List;
31 class OsAccountsEvent
extends TskDataModelChangedEvent<OsAccount, OsAccount> {
33 private static final long serialVersionUID = 1L;
44 OsAccountsEvent(String eventName, List<OsAccount> osAccounts) {
45 super(eventName, null, null, osAccounts, OsAccount::getId);
53 public List<OsAccount> getOsAccounts() {
58 protected List<OsAccount> getNewValueObjects(SleuthkitCase caseDb, List<Long> ids)
throws TskCoreException {
59 List<OsAccount> osAccounts =
new ArrayList<>();
61 osAccounts.add(caseDb.getOsAccountManager().getOsAccountByObjectId(
id));