Go to the documentation of this file.
20package org.sleuthkit.autopsy.commonpropertiessearch;
22import java.util.Arrays;
23import java.util.logging.Level;
24import org.sleuthkit.autopsy.casemodule.Case;
25import org.sleuthkit.autopsy.casemodule.NoCurrentCaseException;
26import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance;
27import org.sleuthkit.autopsy.coreutils.Logger;
28import org.sleuthkit.autopsy.datamodel.DisplayableItemNode;
29import org.sleuthkit.datamodel.AbstractFile;
30import org.sleuthkit.datamodel.SleuthkitCase;
31import org.sleuthkit.datamodel.TskCoreException;
37final public class CaseDBCommonAttributeInstance
extends AbstractCommonAttributeInstance {
58 return Arrays.asList(intraCaseCommonAttributeInstanceNode).toArray(
new DisplayableItemNode[1]);
62 AbstractFile getAbstractFile() {
70 return this.abstractFile = tskDb.findAllFilesWhere(String.format(
"obj_id in (%s)",
this.getAbstractFileObjectId())).get(0);
72 }
catch (TskCoreException | NoCurrentCaseException ex) {
73 LOGGER.log(Level.SEVERE, String.format(
"Unable to find AbstractFile for record with obj_id: %s. Node not created.",
new Object[]{this.getAbstractFileObjectId()}), ex);
81 throw new UnsupportedOperationException(
"Not supported yet.");
SleuthkitCase getSleuthkitCase()
static Case getCurrentCaseThrows()
CorrelationAttributeInstance.Type getCorrelationAttributeInstanceType()
DisplayableItemNode[] generateNodes()
static final Logger LOGGER
synchronized static Logger getLogger(String name)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.