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

Inherits org.sleuthkit.autopsy.datamodel.AbstractContentNode< UnsupportedContent >.

Public Member Functions

 UnsupportedContentNode (UnsupportedContent unsupportedContent)
 
Action[] getActions (boolean popup)
 
getContent ()
 
List< Content > getContentChildren ()
 
int getContentChildrenCount ()
 
List< Long > getContentChildrenIds ()
 
String getItemType ()
 
String getName ()
 
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

Sheet createSheet ()
 
List< Tag > getAllTagsFromDatabase ()
 
DataResultViewerTable.HasCommentStatus getCommentProperty (List< Tag > tags, CorrelationAttributeInstance attribute)
 
CorrelationAttributeInstance getCorrelationAttributeInstance ()
 
Pair< Long, String > getCountPropertyAndDescription (CorrelationAttributeInstance.Type attributeType, String attributeValue, String defaultDescription)
 
abstract Pair< Long, String > getCountPropertyAndDescription (Type attributeType, String attributeValue, 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
 

Detailed Description

This class is used to represent the "Node" for an unsupported content object.

Definition at line 36 of file UnsupportedContentNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.UnsupportedContentNode ( UnsupportedContent  unsupportedContent)
Parameters
unsupportedContentunderlying Content instance

Definition at line 45 of file UnsupportedContentNode.java.

Member Function Documentation

static boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.contentHasVisibleContentChildren ( Content  c)
staticinherited

Return true if the given content object has children. Useful for lazy loading.

Parameters
cThe content object to look for children on
Returns
true if has children

Definition at line 158 of file AbstractContentNode.java.

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

Sheet org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.createSheet ( )
protected

Definition at line 79 of file UnsupportedContentNode.java.

Action [] org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getActions ( boolean  popup)

Right click action for UnsupportedContentNode node

Parameters
popup
Returns

Definition at line 62 of file UnsupportedContentNode.java.

List<Tag> org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getAllTagsFromDatabase ( )
protected

Reads and returns a list of all tags associated with this content node.

Null implementation of an abstract method.

Returns
list of tags associated with the node.

Definition at line 123 of file UnsupportedContentNode.java.

DataResultViewerTable.HasCommentStatus org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getCommentProperty ( List< Tag >  tags,
CorrelationAttributeInstance  attribute 
)
protected

Returns comment property for the node.

Null implementation of an abstract method.

Parameters
tagslist of tags
attributecorrelation attribute instance
Returns
Comment property for the underlying content of the node.

Definition at line 152 of file UnsupportedContentNode.java.

References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.HasCommentStatus.NO_COMMENT.

T org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContent ( )
inherited

Return the content data associated with this node

Returns
the content object wrapped by this node

Definition at line 126 of file AbstractContentNode.java.

References org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >::content.

List<Content> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildren ( )
inherited

Return children of the underlying content.

Returns
list of content children content.

Definition at line 238 of file AbstractContentNode.java.

int org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildrenCount ( )
inherited

Get count of the underlying content object children.

Useful for lazy loading.

Returns
content children count

Definition at line 260 of file AbstractContentNode.java.

List<Long> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildrenIds ( )
inherited

Return ids of children of the underlying content. The ids can be treated as keys - useful for lazy loading.

Returns
list of content ids of children content.

Definition at line 218 of file AbstractContentNode.java.

CorrelationAttributeInstance org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getCorrelationAttributeInstance ( )
protected

Returns correlation attribute instance for the underlying content of the node.

Null implementation of an abstract method.

Returns
correlation attribute instance for the underlying content of the node.

Definition at line 137 of file UnsupportedContentNode.java.

Pair<Long, String> org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getCountPropertyAndDescription ( CorrelationAttributeInstance.Type  attributeType,
String  attributeValue,
String  defaultDescription 
)
protected

Returns occurrences/count property for the node.

Null implementation of an abstract method.

Parameters
attributeTypethe type of the attribute to count
attributeValuethe value of the attribute to coun
defaultDescriptiona description to use when none is determined by the getCountPropertyAndDescription method
Returns
count property for the underlying content of the node.

Definition at line 169 of file UnsupportedContentNode.java.

References org.sleuthkit.autopsy.datamodel.AbstractContentNode< UnsupportedContent >.NO_DESCR.

abstract Pair<Long, String> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getCountPropertyAndDescription ( Type  attributeType,
String  attributeValue,
String  defaultDescription 
)
abstractprotectedinherited

Returns occurrences/count property for the node.

Parameters
attributeTypethe type of the attribute to count
attributeValuethe value of the attribute to count
defaultDescriptiona description to use when none is determined by the getCountPropertyAndDescription method
Returns
count property for the underlying content of the node.
String org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.getItemType ( )

Definition at line 111 of file UnsupportedContentNode.java.

String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getName ( )
inherited

Definition at line 136 of file AbstractContentNode.java.

Pair<Score, String> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getScorePropertyAndDescription ( List< Tag >  tags)
protectedinherited

Returns Score property for the node.

Parameters
tagslist of tags.
Returns
Score property for the underlying content of the node.

Definition at line 349 of file AbstractContentNode.java.

boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.hasContentChildren ( )
inherited

Return true if the underlying content object has children Useful for lazy loading.

Returns
true if has children

Definition at line 198 of file AbstractContentNode.java.

boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.hasVisibleContentChildren ( )
inherited

Return true if the underlying content object has children Useful for lazy loading.

Returns
true if has children

Definition at line 146 of file AbstractContentNode.java.

References org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >::contentHasVisibleContentChildren().

boolean org.sleuthkit.autopsy.datamodel.UnsupportedContentNode.isLeafTypeNode ( )

Definition at line 101 of file UnsupportedContentNode.java.

int org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.read ( byte[]  buf,
long  offset,
long  len 
) throws TskException
inherited

Reads the content of this node (of the underlying content object).

Parameters
bufbuffer to read into
offsetthe starting offset in the content object
lenthe length to read
Returns
the bytes read
Exceptions
TskExceptionexception thrown if the requested part of content could not be read

Definition at line 286 of file AbstractContentNode.java.

void org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.setName ( String  name)
inherited

Definition at line 131 of file AbstractContentNode.java.

synchronized void org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.updateSheet ( NodeProperty<?>...  newProps)
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.

Parameters
newPropsNew file property instances to be updated in the current sheet.

Definition at line 303 of file AbstractContentNode.java.

References org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >::getName().

Member Data Documentation

final T org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.content
protectedinherited

Underlying Sleuth Kit Content object

Definition at line 63 of file AbstractContentNode.java.

final String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.NO_DESCR
staticprotectedinherited

Default no description string

Definition at line 78 of file AbstractContentNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.UnsupportedContentNode::getCountPropertyAndDescription().

final String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.VALUE_LOADING
staticprotectedinherited

Definition at line 79 of file AbstractContentNode.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.