Autopsy
4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.
Inherited by org.sleuthkit.autopsy.communications.relationships.CallLogNode, org.sleuthkit.autopsy.communications.relationships.ContactNode, org.sleuthkit.autopsy.communications.relationships.MessageNode, and org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountArtifactNode.
Public Member Functions | |
BlackboardArtifactNode (BlackboardArtifact artifact, String iconPath) | |
BlackboardArtifactNode (BlackboardArtifact artifact, boolean useAssociatedFileInLookup) | |
BlackboardArtifactNode (BlackboardArtifact artifact) | |
void | addNodeProperty (NodeProperty<?> property) |
Action[] | getActions (boolean context) |
BlackboardArtifact | getArtifact () |
T | getContent () |
List< Content > | getContentChildren () |
int | getContentChildrenCount () |
List< Long > | getContentChildrenIds () |
String | getItemType () |
String | getName () |
String | getSourceName () |
boolean | hasContentChildren () |
boolean | hasVisibleContentChildren () |
boolean | isLeafTypeNode () |
int | read (byte[] buf, long offset, long len) throws TskException |
void | setName (String name) |
Static Public Member Functions | |
static boolean | contentHasVisibleContentChildren (Content c) |
Protected Member Functions | |
final void | addCommentProperty (Sheet.Set sheetSet, List< Tag > tags, CorrelationAttributeInstance attribute) |
final void | addCountProperty (Sheet.Set sheetSet, CorrelationAttributeInstance attribute) |
final void | addScorePropertyAndDescription (Sheet.Set sheetSet, List< Tag > tags) |
void | addTagProperty (Sheet.Set sheetSet) throws MissingResourceException |
final void | addTagProperty (Sheet.Set sheetSet, List< Tag > tags) |
Sheet | createSheet () |
void | finalize () throws Throwable |
final List< Tag > | getAllTagsFromDatabase () |
DataResultViewerTable.HasCommentStatus | getCommentProperty (List< Tag > tags, List< CorrelationAttributeInstance > attributes) |
Pair< Long, String > | getCountPropertyAndDescription (CorrelationAttributeInstance attribute, String defaultDescription) |
Pair< Score, String > | getScorePropertyAndDescription (List< Tag > tags) |
synchronized void | updateSheet (NodeProperty<?>...newProps) |
Protected Attributes | |
final T | content |
Static Protected Attributes | |
static final String | NO_DESCR |
static final String | VALUE_LOADING |
Private Member Functions | |
void | addEmailMsgProperty (Map< String, Object > map, BlackboardAttribute attribute) |
GetSCOTask | addSCOColumns (Sheet.Set sheetSet) |
void | fillPropertyMap (Map< String, Object > map, BlackboardArtifact artifact) |
List< Action > | getAssociatedFileActions (BlackboardArtifact artifact, BlackboardArtifact.Type artifactType) |
String | getAssociatedTypeStr (BlackboardArtifact.Type artifactType) |
String | getContentTypeStr (Content content) |
Action | getExtractWithPasswordAction (Content srcContent) |
List< Action > | getNonNull (Action...items) |
Node | getParentFileNode (Content content) |
String | getRootAncestorName () |
Content | getSourceContentFromLookup (BlackboardArtifact artifact) |
String | getSourceObjType (Content source) |
List< Action > | getSrcContentViewerActions (Node srcFileNode, int selectedFileCount) |
List< Action > | getTagActions (boolean hasSrcFile, BlackboardArtifact artifact, int selectedFileCount, int selectedArtifactCount) |
Action | getTimelineArtifactAction (BlackboardArtifact art) |
Action | getTimelineSrcContentAction (Content srcContent) |
Action | getViewSrcContentAction (BlackboardArtifact artifact, Content content) |
void | setDisplayNameBySourceContent () |
void | unregisterListener () |
void | updateSCOColumns (final SCOData scoData) |
void | updateSheet () |
GetSCOTask | updateSheetForAnalysisResult (AnalysisResult result, Sheet.Set sheetSet) |
Static Private Member Functions | |
static Lookup | createLookup (BlackboardArtifact artifact, boolean useAssociatedFile) |
static Content | getPathIdFile (BlackboardArtifact artifact) throws ExecutionException |
static BlackboardArtifact.Type | getType (BlackboardArtifact artifact) |
Private Attributes | |
final BlackboardArtifact | artifact |
final BlackboardArtifact.Type | artifactType |
List< NodeProperty<?extends Object > > | customProperties |
final PropertyChangeListener | listener |
final String | sourceObjTypeName |
Content | srcContent |
volatile String | translatedSourceName |
final PropertyChangeListener | weakListener = WeakListeners.propertyChange(listener, null) |
Static Private Attributes | |
static final Set< Case.Events > | CASE_EVENTS_OF_INTEREST |
static final Cache< Long, Content > | contentCache = CacheBuilder.newBuilder().expireAfterWrite(1, TimeUnit.MINUTES).build() |
static final Logger | logger = Logger.getLogger(BlackboardArtifactNode.class.getName()) |
static final Integer[] | SHOW_FILE_METADATA |
An AbstractNode implementation that can be used to represent an data artifact or analysis result of any type.
Definition at line 125 of file BlackboardArtifactNode.java.
org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode | ( | BlackboardArtifact | artifact, |
String | iconPath | ||
) |
Constructs an AbstractNode implementation that can be used to represent a data artifact or analysis result of any type. The Lookup of the Node will contain the data artifact or analysis result and its parent content as its source content.
artifact | The data artifact or analysis result. |
iconPath | The path to the icon for the data artifact or analysis result type. |
Definition at line 247 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.CASE_EVENTS_OF_INTEREST, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getSourceContentFromLookup(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getSourceObjType(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getType(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayNameBySourceContent(), and org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.setName().
org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode | ( | BlackboardArtifact | artifact, |
boolean | useAssociatedFileInLookup | ||
) |
Constructs an AbstractNode implementation that can be used to represent a data artifact or analysis result of any type. The Lookup of the Node will contain the data artifact or analysis result and its source content, either the parent content or the associated file.
artifact | The data artifact or analysis result. |
useAssociatedFileInLookup | True if the source content in the Lookup should be the associated file instead of the parent content. |
Definition at line 288 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.CASE_EVENTS_OF_INTEREST, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup(), org.sleuthkit.autopsy.datamodel.utils.IconsUtil.getIconFilePath(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getSourceObjType(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getType(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayNameBySourceContent(), and org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.setName().
org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode | ( | BlackboardArtifact | artifact | ) |
Constructs an AbstractNode implementation that can be used to represent a data artifact or analysis result of any type. The Lookup of the Node will contain the data artifact or analysis result and its parent content as its source content.
artifact | The data artifact or analysis result. |
Definition at line 330 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact, and org.sleuthkit.autopsy.datamodel.utils.IconsUtil.getIconFilePath().
|
protected |
Adds the other occurrences property for the artifact represented by this node to the node property sheet.
sheetSet | The property sheet. |
tags | The tags that have been applied to the artifact and its source content. |
attribute | The correlation attribute instance to use for the central repository lookup. |
Definition at line 1690 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getCommentProperty(), and org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR.
|
protected |
Adds the count property for the artifact represented by this node to the node property sheet.
sheetSet | The property sheet. |
attribute | The correlation attribute instance to use for the central repository lookup. |
Definition at line 1668 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getCountPropertyAndDescription().
|
private |
Adds an email message attribute of the artifact this node represents to a map of name-value pairs, where the names are attribute type display names.
map | The map to be populated with the artifact attribute name-value pair. |
attribute | The attribute to use to make the map entry. |
Definition at line 1358 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap().
void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addNodeProperty | ( | NodeProperty<?> | property | ) |
Adds a "custom" property to the property sheet of this node, independent of the artifact this node represents or its source content.
property | The custom property. |
Definition at line 1278 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.KeywordHits.createBlackboardArtifactNode().
|
private |
Definition at line 1459 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.core.UserPreferences.getHideSCOColumns(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled(), and org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.VALUE_LOADING.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheetForAnalysisResult().
|
protected |
Adds the score property for the artifact represented by this node to the node property sheet.
sheetSet | The property sheet. |
tags | The tags that have been applied to the artifact and its source content. |
Definition at line 1603 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.getScorePropertyAndDescription().
|
protected |
Adds the tags property for the artifact represented by this node to the node property sheet.
sheetSet | The property sheet. |
Definition at line 1621 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.casemodule.services.TagsManager.getBlackboardArtifactTagsByArtifact(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getContentTagsByContent(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager(), and org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR.
|
protected |
Adds the tags property for the artifact represented by this node to the node property sheet.
sheetSet | The property sheet. |
tags | The tags that have been applied to the artifact and its source content. |
Definition at line 1644 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR.
|
staticinherited |
Return true if the given content object has children. Useful for lazy loading.
c | The content object to look for children on |
Definition at line 157 of file AbstractContentNode.java.
|
staticprivate |
Creates a Lookup object for this node and populates it with both the artifact this node represents and its source content.
artifact | The artifact this node represents. |
useAssociatedFile | True if the source content in the Lookup should be the associated file instead of the parent content. |
Definition at line 361 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.content, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getPathIdFile().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().
|
protected |
Definition at line 871 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addSCOColumns(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType, org.sleuthkit.autopsy.core.UserPreferences.displayTranslatedFileNames(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime(), org.sleuthkit.autopsy.texttranslation.TextTranslationService.getInstance(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getRootAncestorName(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.texttranslation.TextTranslationService.hasProvider(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.listener, org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheetForAnalysisResult().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheet().
|
private |
Converts the attributes of the artifact this node represents to a map of name-value pairs, where the names are attribute type display names.
map | The map to be populated with the artifact attribute name-value pairs. |
artifact | The artifact. |
Definition at line 1294 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addEmailMsgProperty(), and org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().
|
protected |
Unregisters the application event listener when this node is garbage collected, if this finalizer is actually called.
RC: Isn't there some node lifecycle property change event that could be used to unregister the listener instead?
Throwable |
Definition at line 467 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.unregisterListener().
Action [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions | ( | boolean | context | ) |
Definition at line 502 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType, org.sleuthkit.autopsy.coreutils.ContextMenuExtensionPoint.getActions(), org.sleuthkit.autopsy.datamodel.DataModelActionsFactory.getActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedFileActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getExtractWithPasswordAction(), org.sleuthkit.autopsy.directorytree.ExtractAction.getInstance(), org.sleuthkit.autopsy.directorytree.ExportCSVAction.getInstance(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getNonNull(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getParentFileNode(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getSrcContentViewerActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getTagActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getTimelineArtifactAction(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getTimelineSrcContentAction(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getViewSrcContentAction().
Referenced by org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPopupActionsDisplayableItemNodeVisitor.visit().
|
protected |
Gets all of the tags applied to the artifact represented by this node and its source content.
Definition at line 1164 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.casemodule.services.TagsManager.getBlackboardArtifactTagsByArtifact(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getContentTagsByContent(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getServices(), and org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager().
BlackboardArtifact org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getArtifact | ( | ) |
Gets the artifact represented by this node.
Definition at line 484 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.visit(), org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPreferredActionsDisplayableItemNodeVisitor.visit(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.ShowItemVisitor.visit().
|
private |
Returns actions for navigating to an associated file in the directory or in the timeline.
artifact | The artifact whose associated file will be identified. |
artifactType | The type of artifact. |
Definition at line 625 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedTypeStr().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
private |
Returns the name of the artifact based on the artifact type to be used with the associated file string in a right click menu.
artifactType | The artifact type. |
Definition at line 573 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifactType.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedFileActions().
|
protected |
Computes the value of the comment property ("C" in S, C, O) for the artifact represented by this node.
An icon is displayed in the property sheet if a commented tag has been applied to the artifact or its source content, or if there is a corresponding commented correlation attribute instance in the central repository.
tags | The tags applied to the artifact and its source content. |
attributes | A correlation attribute instance for the central repository lookup. |
Definition at line 1192 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.CR_AND_TAG_COMMENTS, org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.CR_COMMENT, org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.NO_COMMENT, org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.TAG_COMMENT, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.TAG_NO_COMMENT.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addCommentProperty().
|
inherited |
Return the content data associated with this node
Definition at line 125 of file AbstractContentNode.java.
|
inherited |
Return children of the underlying content.
Definition at line 237 of file AbstractContentNode.java.
|
inherited |
Get count of the underlying content object children.
Useful for lazy loading.
Definition at line 259 of file AbstractContentNode.java.
|
inherited |
Return ids of children of the underlying content. The ids can be treated as keys - useful for lazy loading.
Definition at line 217 of file AbstractContentNode.java.
|
private |
Returns the name to represent the type of the content (file, data artifact, os account, item).
content | The content. |
Definition at line 597 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getTimelineSrcContentAction(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getViewSrcContentAction().
|
protected |
Definition at line 1227 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.getCorrelationType(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.getCorrelationValue(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getCountCasesWithOtherInstances(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.getDisplayName(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addCountProperty().
|
private |
Returns actions for extracting content from file or null if not possible.
srcContent | The source content. |
Definition at line 714 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.FileTypeExtensions.getArchiveExtensions().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getItemType | ( | ) |
Definition at line 1393 of file BlackboardArtifactNode.java.
|
inherited |
Definition at line 135 of file AbstractContentNode.java.
|
private |
Returns a list of non null actions from the given possibly null options.
items | The items to purge of null items. |
Definition at line 495 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
private |
Returns a Node representing the file content if the content is indeed some sort of file. Otherwise, return null.
content | The content. |
Definition at line 687 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
staticprivate |
Private helper method to allow content specified in a path id attribute to be retrieved.
artifact | The artifact for which content may be specified as a tsk path attribute. |
ExecutionException | Error retrieving the file specified by the path id from the cache. |
Definition at line 445 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup().
|
private |
Gets the name of the root ancestor of the source content for the artifact represented by this node.
Definition at line 1258 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.srcContent.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().
|
protectedinherited |
Returns Score property for the node.
tags | list of tags. |
Definition at line 339 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::addScorePropertyAndDescription().
|
private |
Finds the source content in the Lookup created by createLookup() method.
artifact | Artifact who's source Content we are trying to find. |
Definition at line 414 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().
String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getSourceName | ( | ) |
Gets the name of the source content of the artifact represented by this node.
Definition at line 850 of file BlackboardArtifactNode.java.
|
private |
Returns a displayable type string for the given content object.
If the content object is a artifact of a custom type then this method may cause a DB call BlackboardArtifact.getType
source | The object to determine the type of. |
Definition at line 1500 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().
|
private |
Returns actions to view src content in a different viewer or window.
srcFileNode | The source file node or null if no source file. |
selectedFileCount | The number of selected files. |
Definition at line 775 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.directorytree.ExternalViewerShortcutAction.getInstance().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
private |
Returns tag actions.
hasSrcFile | Whether or not the artifact has a source file. |
artifact | This artifact. |
selectedFileCount | The count of selected files. |
selectedArtifactCount | The count of selected artifacts. |
Definition at line 741 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.getInstance(), org.sleuthkit.autopsy.actions.AddContentTagAction.getInstance(), org.sleuthkit.autopsy.actions.DeleteFileBlackboardArtifactTagAction.getInstance(), and org.sleuthkit.autopsy.actions.DeleteFileContentTagAction.getInstance().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
private |
If the artifact represented by this node has a timestamp, an action to view it in the timeline.
art | The artifact for timeline navigation action. |
Definition at line 831 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.timeline.actions.ViewArtifactInTimelineAction.hasSupportedTimeStamp().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
private |
If the source content of the artifact represented by this node is a file, returns an action to view the file in the data source tree.
srcContent | The src content to navigate to in the timeline action. |
Definition at line 800 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getContentTypeStr(), and org.sleuthkit.autopsy.timeline.actions.ViewArtifactInTimelineAction.hasSupportedTimeStamp().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
staticprivate |
Returns the artifact type of the artifact.
artifact | The artifact. |
Definition at line 341 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().
|
private |
Creates an action to navigate to src content in tree hierarchy.
artifact | The artifact. |
content | The content. |
Definition at line 658 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.content, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getContentTypeStr().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions().
|
inherited |
Return true if the underlying content object has children Useful for lazy loading.
Definition at line 197 of file AbstractContentNode.java.
|
inherited |
Return true if the underlying content object has children Useful for lazy loading.
Definition at line 145 of file AbstractContentNode.java.
boolean org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.isLeafTypeNode | ( | ) |
Definition at line 1388 of file BlackboardArtifactNode.java.
|
inherited |
Reads the content of this node (of the underlying content object).
buf | buffer to read into |
offset | the starting offset in the content object |
len | the length to read |
TskException | exception thrown if the requested part of content could not be read |
Definition at line 285 of file AbstractContentNode.java.
|
private |
Sets the displayName of the node based on the source content.
Definition at line 1564 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().
|
inherited |
Definition at line 130 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::BlackboardArtifactNode().
|
private |
Unregisters this node's application event listener.
Definition at line 475 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.CASE_EVENTS_OF_INTEREST, and org.sleuthkit.autopsy.casemodule.Case.removeEventTypeSubscriber().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.finalize().
|
private |
Update the SCO columns with the data retrieved in the background thread.
scoData | The data for the SCO columns. |
Definition at line 1532 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheet().
|
protectedinherited |
Updates the values of the properties in the current property sheet with the new properties being passed in. Only if that property exists in the current sheet will it be applied. That way, we allow for subclasses to add their own (or omit some!) properties and we will not accidentally disrupt their UI.
Race condition if not synchronized. Only one update should be applied at a time.
newProps | New file property instances to be updated in the current sheet. |
Definition at line 302 of file AbstractContentNode.java.
|
private |
Refreshes this node's property sheet.
Definition at line 1248 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSCOColumns().
|
private |
Add the columns to the Sheet.Set for AnalysisResults.
result | The AnalysisResult the sheet is being created. |
sheetSet | The sheetSet to add the values to. |
Definition at line 1417 of file BlackboardArtifactNode.java.
References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addSCOColumns(), org.sleuthkit.autopsy.datamodel.AbstractContentNode< BlackboardArtifact >.NO_DESCR, and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.sourceObjTypeName.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().
|
private |
Definition at line 156 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getArtifact().
|
private |
Definition at line 157 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedFileActions(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedTypeStr().
|
staticprivate |
Definition at line 140 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.unregisterListener().
|
protectedinherited |
Underlying Sleuth Kit Content object
Definition at line 62 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::createLookup(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::getViewSrcContentAction().
|
staticprivate |
Definition at line 134 of file BlackboardArtifactNode.java.
|
private |
Definition at line 167 of file BlackboardArtifactNode.java.
|
private |
Definition at line 169 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().
|
staticprivate |
Definition at line 127 of file BlackboardArtifactNode.java.
|
staticprotectedinherited |
Default no description string
Definition at line 77 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::addCommentProperty(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::addTagProperty(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::createSheet(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::updateSCOColumns(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::updateSheetForAnalysisResult().
|
staticprivate |
Definition at line 152 of file BlackboardArtifactNode.java.
|
private |
Definition at line 160 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheetForAnalysisResult().
|
private |
Definition at line 158 of file BlackboardArtifactNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getRootAncestorName().
|
private |
Definition at line 159 of file BlackboardArtifactNode.java.
|
staticprotectedinherited |
Definition at line 78 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode::addSCOColumns().
|
private |
Definition at line 235 of file BlackboardArtifactNode.java.
Copyright © 2012-2021 Basis Technology. Generated on: Thu Sep 30 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.