Go to the documentation of this file.
19package org.sleuthkit.autopsy.casemodule.events;
21import java.util.ArrayList;
23import java.util.stream.Collectors;
24import java.util.stream.Stream;
25import org.sleuthkit.autopsy.casemodule.Case;
26import org.sleuthkit.datamodel.Report;
27import org.sleuthkit.datamodel.SleuthkitCase;
28import org.sleuthkit.datamodel.TskCoreException;
54 return reports.get(0);
58 protected List<Report>
getNewValueObjects(SleuthkitCase caseDb, List<Long> ids)
throws TskCoreException {
60 List<Report> reports =
new ArrayList<>();
61 reports.add(caseDb.getReportById(
id));
static final long serialVersionUID
ReportAddedEvent(Report report)
List< Report > getNewValueObjects(SleuthkitCase caseDb, List< Long > ids)
TskDataModelChangedEvent(String eventName, List< T > oldValueObjects, Function< T, Long > oldValueGetIdMethod, List< U > newValueObjects, Function< U, Long > newValueGetIdMethod)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.