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

Inherits org.sleuthkit.autopsy.datamodel.DisplayableItemNode.

Inherited by org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountsRootNode, org.sleuthkit.autopsy.datamodel.Artifacts.TypeNode, org.sleuthkit.autopsy.datamodel.EmailExtracted.RootNode, org.sleuthkit.autopsy.datamodel.HashsetHits.RootNode, org.sleuthkit.autopsy.datamodel.InterestingHits.RootNode, org.sleuthkit.autopsy.datamodel.KeywordHits.RootNode, and org.sleuthkit.autopsy.datamodel.MalwareHits.RootNode.

Public Member Functions

 UpdatableCountTypeNode (Children children, Lookup lookup, String baseName, long filteringDSObjId, BlackboardArtifact.Type...types)
abstract< T > T accept (DisplayableItemNodeVisitor< T > visitor)
NodeSelectionInfo getChildNodeSelectionInfo ()
abstract String getItemType ()
abstract boolean isLeafTypeNode ()
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)

Protected Member Functions

long fetchChildCount (SleuthkitCase skCase) throws TskCoreException
long getChildCount ()
synchronized final void updatePropertySheet (NodeProperty<?>...newProps)

Private Attributes

final String baseName
long childCount = 0
final long filteringDSObjId
final Set< BlackboardArtifact.Type > types

Static Private Attributes

static final Logger logger = Logger.getLogger(UpdatableCountTypeNode.class.getName())

Detailed Description

Abstract class for type(s) nodes. This class allows for displaying a count artifacts with the type(s) associated with this node.

Definition at line 448 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.UpdatableCountTypeNode ( Children  children,
Lookup  lookup,
String  baseName,
long  filteringDSObjId,
BlackboardArtifact.Type...  types 

Main constructor.

childrenThe Children to associated with this node.
lookupThe Lookup to use with this name.
baseNameThe display name. The Node.displayName will be of format "[baseName] ([count])".
filteringDSObjIdThe data source object id to use for filtering. If id is less than or equal to 0, no filtering will occur.
typesThe types associated with this type node.

Definition at line 469 of file

References org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.baseName, org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.filteringDSObjId, and org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.types.

Member Function Documentation

abstract <T> T org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept ( DisplayableItemNodeVisitor< T >  visitor)

Accepts a visitor DisplayableItemNodeVisitor that will perform an operation on this artifact type and return some object as the result of the operation.

visitorThe visitor, where the type parameter of the visitor is the type of the object that will be returned as the result of the visit operation.
An object of type T.

Referenced by org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActions(), and org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPreferredAction().

long org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.fetchChildCount ( SleuthkitCase  skCase) throws TskCoreException

Fetches the count to be displayed from the case.

skCaseThe relevant SleuthkitCase.
The count to be displayed.

Definition at line 497 of file

References org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.filteringDSObjId.

long org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.getChildCount ( )

Returns the count of artifacts associated with these type(s).

The count of artifacts associated with these type(s).

Definition at line 484 of file

References org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.childCount.

NodeSelectionInfo org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getChildNodeSelectionInfo ( )

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

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

Definition at line 142 of file

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

abstract String org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getItemType ( )

Gets the item type string of the node, suitable for use as a key.

A String representing the item type of node.
abstract boolean org.sleuthkit.autopsy.datamodel.DisplayableItemNode.isLeafTypeNode ( )

Indicates whether or not the node is capable of having child nodes. Should only return true if the node is ALWAYS a leaf node.

True or false.

Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.defaultVisit().

void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo ( NodeSelectionInfo  selectedChildNodeInfo)

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

selectedChildNodeInfoThe child node selection information.

Definition at line 131 of file

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

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

synchronized final void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.updatePropertySheet ( NodeProperty<?>...  newProps)

Updates the node property sheet by replacing existing properties with new properties with the same property name.

newPropsThe replacement property objects.

Definition at line 152 of file

Member Data Documentation

final String org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.baseName
long org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.childCount = 0
final long org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.filteringDSObjId
final Logger org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.logger = Logger.getLogger(UpdatableCountTypeNode.class.getName())

Definition at line 450 of file

final Set<BlackboardArtifact.Type> org.sleuthkit.autopsy.datamodel.Artifacts.UpdatableCountTypeNode.types

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.