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

Inherits JPanel, and org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Inherited by org.sleuthkit.autopsy.communications.relationships.CallLogDataViewer.

Public Member Functions

 CallLogArtifactViewer ()
 
Component getComponent ()
 
boolean isSupported (BlackboardArtifact artifact)
 
void setArtifact (BlackboardArtifact artifact)
 

Private Member Functions

Map< String, String > extractOtherAttributes (BlackboardArtifact artifact) throws TskCoreException
 
void extractTimeAndDuration (BlackboardArtifact artifact, CallLogViewData callLogViewData) throws TskCoreException
 
String getAccountDisplayString (String accountIdentifier, CallLogViewData callLogViewDataNew)
 
CallLogViewData getCallLogViewData (BlackboardArtifact artifact) throws TskCoreException
 
void initComponents ()
 
void resetComponent ()
 
void showCRDisabledMessage ()
 
void updateMetadataView (CallLogViewData callLogViewData)
 
void updateOtherAttributesView (CallLogViewData callLogViewData)
 
void updateSourceView (CallLogViewData callLogViewData)
 
List< AccountPersonaSearcherData > updateView (CallLogViewData callLogViewData)
 

Private Attributes

PersonaAccountFetcher currentAccountFetcher = null
 
GridBagConstraints m_constraints = new GridBagConstraints()
 
GridBagLayout m_gridBagLayout = new GridBagLayout()
 

Static Private Attributes

static final Set< Integer > HANDLED_ATTRIBUTE_TYPES
 
static final Logger logger = Logger.getLogger(CallLogArtifactViewer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

Artifact viewer for Call log artifacts.

Displays the To/From and other parties, and metadata for a call.

Definition at line 55 of file CallLogArtifactViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.CallLogArtifactViewer ( )

Member Function Documentation

Map<String, String> org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.extractOtherAttributes ( BlackboardArtifact  artifact) throws TskCoreException
private

Returns the attributes from the given artifact that are not already displayed by the artifact viewer.

Parameters
artifactCall log artifact.
Returns
Attribute names/values.
Exceptions
TskCoreException

Definition at line 287 of file CallLogArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.extractTimeAndDuration ( BlackboardArtifact  artifact,
CallLogViewData  callLogViewData 
) throws TskCoreException
private

Extract the call time and duration from the artifact and saves in the CallLogViewData.

Parameters
artifactCall log artifact.
callLogViewDataCallLogViewData object to save the time & duration in.
Exceptions
TskCoreException

Definition at line 257 of file CallLogArtifactViewer.java.

String org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.getAccountDisplayString ( String  accountIdentifier,
CallLogViewData  callLogViewDataNew 
)
private

Returns display string for a account. Checks if the given account is the local account, if it is known. If it is, it appends a "(Local)" suffix to account display string.

Parameters
accountIdentifierAccount identifier to check.
callLogViewDataNewCall log data which may have the lock account.
Returns
Account string to display.

Definition at line 465 of file CallLogArtifactViewer.java.

CallLogViewData org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.getCallLogViewData ( BlackboardArtifact  artifact) throws TskCoreException
private

Extracts data from the call log artifact for display in the view.

Parameters
artifactArtifact to extract data from.
Returns
CallLogViewData Extracted data to be displayed.
Exceptions
TskCoreException

Definition at line 133 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.guiutils.ContactCache.getContactNameList().

Component org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.getComponent ( )

Returns the panel.

Returns
display panel.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 474 of file CallLogArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 91 of file CallLogArtifactViewer.java.

boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.isSupported ( BlackboardArtifact  artifact)

Checks whether the given artifact is supported by the viewer.

Parameters
artifactArtifact to check.
Returns
True if the artifact can be displayed by the viewer, false otherwise.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 479 of file CallLogArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.resetComponent ( )
private

Resets all artifact specific state.

Definition at line 488 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionIndent().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.setArtifact ( BlackboardArtifact  artifact)

Called to display the contents of the given artifact.

Parameters
artifactthe artifact to display.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 97 of file CallLogArtifactViewer.java.

Referenced by org.sleuthkit.autopsy.communications.relationships.CallLogDataViewer.setNode().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.showCRDisabledMessage ( )
private
void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.updateMetadataView ( CallLogViewData  callLogViewData)
private

Update the call log meta data section.

Parameters
callLogViewDataCall log data.

Definition at line 386 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionSpacing().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.updateOtherAttributesView ( CallLogViewData  callLogViewData)
private

Update the other attributes section.

Parameters
callLogViewDataCall log data.

Definition at line 431 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionSpacing().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.updateSourceView ( CallLogViewData  callLogViewData)
private

Update the call log source section.

Parameters
callLogViewData

Definition at line 417 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionSpacing().

List<AccountPersonaSearcherData> org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.updateView ( CallLogViewData  callLogViewData)
private

Update the viewer with the call log data.

Parameters
callLogViewDataCall log data to update the view with.
Returns
List of AccountPersonaSearcherData objects.

Definition at line 313 of file CallLogArtifactViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled().

Member Data Documentation

PersonaAccountFetcher org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.currentAccountFetcher = null
private

Definition at line 74 of file CallLogArtifactViewer.java.

final Set<Integer> org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.HANDLED_ATTRIBUTE_TYPES
staticprivate
Initial value:
= new HashSet<Integer>(Arrays.asList(
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PHONE_NUMBER.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PHONE_NUMBER_TO.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PHONE_NUMBER_FROM.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_ID.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DIRECTION.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME_START.getTypeID(),
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME_END.getTypeID()
))

Definition at line 60 of file CallLogArtifactViewer.java.

final Logger org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.logger = Logger.getLogger(CallLogArtifactViewer.class.getName())
staticprivate

Definition at line 57 of file CallLogArtifactViewer.java.

GridBagConstraints org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.m_constraints = new GridBagConstraints()
private

Definition at line 72 of file CallLogArtifactViewer.java.

GridBagLayout org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.m_gridBagLayout = new GridBagLayout()
private

Definition at line 71 of file CallLogArtifactViewer.java.

final long org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.serialVersionUID = 1L
staticprivate

Definition at line 58 of file CallLogArtifactViewer.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.