Autopsy  4.4
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode Class Reference

Inherits org.sleuthkit.autopsy.datamodel.DisplayableItemNode.

Inherited by org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountArtifactNode.

Public Member Functions

 BlackboardArtifactNode (BlackboardArtifact artifact, String iconPath)
 
 BlackboardArtifactNode (BlackboardArtifact artifact)
 
void addNodeProperty (NodeProperty<?> np)
 
Action[] getActions (boolean context)
 
NodeSelectionInfo getChildNodeSelectionInfo ()
 
String getItemType ()
 
boolean isLeafTypeNode ()
 
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)
 

Protected Member Functions

Sheet createSheet ()
 

Private Member Functions

void addEmailMsgProperty (Map< String, Object > map, BlackboardAttribute attribute)
 
void fillPropertyMap (Map< String, Object > map, BlackboardArtifact artifact)
 
String getRootParentName ()
 
void removeListeners ()
 
void setDisplayName ()
 
void updateSheet ()
 

Static Private Member Functions

static Lookup createLookup (BlackboardArtifact artifact)
 
static Content getAssociatedContent (BlackboardArtifact artifact)
 

Private Attributes

final BlackboardArtifact artifact
 
final Content associated
 
List< NodeProperty<?extends Object > > customProperties
 
final PropertyChangeListener pcl
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(BlackboardArtifactNode.class.getName())
 
static final Integer[] SHOW_FILE_METADATA
 
static final Integer[] SHOW_UNIQUE_PATH
 

Detailed Description

Node wrapping a blackboard artifact object. This is generated from several places in the tree.

Definition at line 61 of file BlackboardArtifactNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode ( BlackboardArtifact  artifact,
String  iconPath 
)

Construct blackboard artifact node from an artifact and using provided icon

Parameters
artifactartifact to encapsulate
iconPathicon to use for the artifact

Definition at line 123 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.casemodule.Case.addPropertyChangeListener(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName().

org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode ( BlackboardArtifact  artifact)

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addEmailMsgProperty ( Map< String, Object >  map,
BlackboardAttribute  attribute 
)
private

Fill map with EmailMsg properties, not all attributes are filled

Parameters
mapmap with preserved ordering, where property names/values are put
attributeattribute to check/fill as property

Definition at line 480 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.associated, and org.sleuthkit.autopsy.datamodel.ContentUtils.getStringTime().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap().

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addNodeProperty ( NodeProperty<?>  np)

Add an additional custom node property to that node before it is displayed

Parameters
npNodeProperty to add

Definition at line 417 of file BlackboardArtifactNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.KeywordHits.createBlackboardArtifactNode().

static Lookup org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup ( BlackboardArtifact  artifact)
staticprivate

Create a Lookup based on what is in the passed in artifact.

Parameters
artifact
Returns

Definition at line 524 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedContent().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().

Sheet org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet ( )
protected
void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap ( Map< String, Object >  map,
BlackboardArtifact  artifact 
)
private

Fill map with Artifact properties

Parameters
mapmap with preserved ordering, where property names/values are put
artifactto extract properties from

Definition at line 433 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addEmailMsgProperty(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.associated, and org.sleuthkit.autopsy.datamodel.ContentUtils.getStringTime().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().

Action [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions ( boolean  context)
static Content org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedContent ( BlackboardArtifact  artifact)
staticprivate
NodeSelectionInfo org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getChildNodeSelectionInfo ( )
inherited

Gets information about which child node of this node, if any, should be selected.

Returns
The child node selection information, or null if no child should be selected.

Definition at line 138 of file DisplayableItemNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getItemType ( )

Definition at line 553 of file BlackboardArtifactNode.java.

String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getRootParentName ( )
private
boolean org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.isLeafTypeNode ( )

Definition at line 548 of file BlackboardArtifactNode.java.

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.removeListeners ( )
private
void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo ( NodeSelectionInfo  selectedChildNodeInfo)
inherited

Adds information about which child node of this node, if any, should be selected. Can be null.

Parameters
selectedChildNodeInfoThe child node selection information.

Definition at line 127 of file DisplayableItemNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact().

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName ( )
private

Set the filter node display name. The value will either be the file name or something along the lines of e.g. "Messages Artifact" for keyword hits on artifacts.

Definition at line 204 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheet ( )
private

Member Data Documentation

final BlackboardArtifact org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact
private
final Content org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.associated
private
List<NodeProperty<? extends Object> > org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.customProperties
private

Definition at line 65 of file BlackboardArtifactNode.java.

final Logger org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.LOGGER = Logger.getLogger(BlackboardArtifactNode.class.getName())
staticprivate

Definition at line 66 of file BlackboardArtifactNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.pcl
private

Definition at line 83 of file BlackboardArtifactNode.java.

final Integer [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.SHOW_FILE_METADATA
staticprivate
Initial value:
= new Integer[]{
BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID(),}

Definition at line 80 of file BlackboardArtifactNode.java.

final Integer [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.SHOW_UNIQUE_PATH
staticprivate
Initial value:
= new Integer[]{
BlackboardArtifact.ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID(),}

Definition at line 71 of file BlackboardArtifactNode.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Tue Jun 13 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.