Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.discovery.search.DomainSearch Class Reference

Public Member Functions

 DomainSearch ()
 
List< ResultgetDomainsInGroup (String userName, List< AbstractFilter > filters, DiscoveryAttributes.AttributeType groupAttributeType, Group.GroupSortingAlgorithm groupSortingType, ResultsSorter.SortingMethod domainSortingMethod, GroupKey groupKey, int startingEntry, int numberOfEntries, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException
 
Map< GroupKey, Integer > getGroupSizes (String userName, List< AbstractFilter > filters, DiscoveryAttributes.AttributeType groupAttributeType, Group.GroupSortingAlgorithm groupSortingType, ResultsSorter.SortingMethod domainSortingMethod, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException
 
Image getThumbnail (DomainSearchThumbnailRequest thumbnailRequest) throws DiscoveryException
 

Private Attributes

final DomainSearchCache searchCache
 
final DomainSearchThumbnailCache thumbnailCache
 

Detailed Description

Main class to perform the domain search.

Definition at line 34 of file DomainSearch.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.discovery.search.DomainSearch.DomainSearch ( )

Construct a new DomainSearch object.

Definition at line 42 of file DomainSearch.java.

Member Function Documentation

List<Result> org.sleuthkit.autopsy.discovery.search.DomainSearch.getDomainsInGroup ( String  userName,
List< AbstractFilter filters,
DiscoveryAttributes.AttributeType  groupAttributeType,
Group.GroupSortingAlgorithm  groupSortingType,
ResultsSorter.SortingMethod  domainSortingMethod,
GroupKey  groupKey,
int  startingEntry,
int  numberOfEntries,
SleuthkitCase  caseDb,
CentralRepository  centralRepoDb 
) throws DiscoveryException

Get the domains from the specified group from the cache, if the the group was not cached perform a search caching the groups.

Parameters
userNameThe name of the user performing the search.
filtersThe filters to apply.
groupAttributeTypeThe attribute to use for grouping.
groupSortingTypeThe method to use to sort the groups.
domainSortingMethodThe method to use to sort the Domains within the groups.
groupKeyThe key which uniquely identifies the group to get entries from.
startingEntryThe first entry to return.
numberOfEntriesThe number of entries to return.
caseDbThe case database.
centralRepoDbThe central repository database. Can be null if not needed.
Returns
A LinkedHashMap grouped and sorted according to the parameters.
Exceptions
DiscoveryException

Definition at line 119 of file DomainSearch.java.

Map<GroupKey, Integer> org.sleuthkit.autopsy.discovery.search.DomainSearch.getGroupSizes ( String  userName,
List< AbstractFilter filters,
DiscoveryAttributes.AttributeType  groupAttributeType,
Group.GroupSortingAlgorithm  groupSortingType,
ResultsSorter.SortingMethod  domainSortingMethod,
SleuthkitCase  caseDb,
CentralRepository  centralRepoDb 
) throws DiscoveryException

Run the domain search to get the group keys and sizes. Clears cache of search results, caching new results for access at later time.

Parameters
userNameThe name of the user performing the search.
filtersThe filters to apply.
groupAttributeTypeThe attribute to use for grouping.
groupSortingTypeThe method to use to sort the groups.
domainSortingMethodThe method to use to sort the domains within the groups.
caseDbThe case database.
centralRepoDbThe central repository database. Can be null if not needed.
Returns
A LinkedHashMap grouped and sorted according to the parameters.
Exceptions
DiscoveryException

Definition at line 77 of file DomainSearch.java.

Image org.sleuthkit.autopsy.discovery.search.DomainSearch.getThumbnail ( DomainSearchThumbnailRequest  thumbnailRequest) throws DiscoveryException

Get a thumbnail representation of a domain name. See DomainSearchThumbnailRequest for more details.

Parameters
thumbnailRequestThumbnail request for domain.
Returns
An Image instance or null if no thumbnail is available.
Exceptions
DiscoveryExceptionIf there is an error with Discovery related processing.

Definition at line 152 of file DomainSearch.java.

References org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailCache.get().

Referenced by org.sleuthkit.autopsy.discovery.ui.ResultsPanel.DomainThumbnailWorker.doInBackground().

Member Data Documentation

final DomainSearchCache org.sleuthkit.autopsy.discovery.search.DomainSearch.searchCache
private

Definition at line 36 of file DomainSearch.java.

final DomainSearchThumbnailCache org.sleuthkit.autopsy.discovery.search.DomainSearch.thumbnailCache
private

Definition at line 37 of file DomainSearch.java.


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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.