19 package org.sleuthkit.autopsy.discovery.search;
 
   22 import java.util.HashSet;
 
   23 import org.apache.commons.lang3.StringUtils;
 
   24 import org.openide.util.NbBundle;
 
   51     ResultDomain(String domain, Long activityStart, Long activityEnd, Long totalPageViews,
 
   52             Long pageViewsInLast60, Long filesDownloaded, Long countOfKnownAccountTypes, String accountTypes, 
Content dataSource) {
 
   55         this.dataSourceId = dataSource.
getId();
 
   79         this.countOfKnownAccountTypes = resultDomain.getCountOfKnownAccountTypes();
 
  144         "ResultDomain_getDefaultCategory=Uncategorized" 
  147         Set<String> returnList = 
new HashSet<>();
 
  148         if (webCategories.isEmpty()) {
 
  149             returnList.add(Bundle.ResultDomain_getDefaultCategory());
 
  151             returnList.addAll(webCategories);
 
  161         if (categories != null && !categories.isEmpty()) {
 
  162             this.webCategories.addAll(categories);
 
  171         return getCountOfKnownAccountTypes() != null
 
  172                 && getCountOfKnownAccountTypes() > 0;
 
  183         "ResultDomain_noAccountTypes=Unknown" 
  186         if (StringUtils.isBlank(accountTypes)) {
 
  187             return Bundle.ResultDomain_noAccountTypes();
 
  214         return "[domain=" + this.domain + 
", data_source=" + this.dataSourceId + 
", start=" 
  215                 + this.activityStart + 
", end=" + this.activityEnd + 
", totalVisits=" + this.totalPageViews + 
", visitsLast60=" 
  216                 + this.pageViewsInLast60 + 
", downloads=" + this.filesDownloaded + 
", frequency=" 
  223     Long getCountOfKnownAccountTypes() {
 
final Long countOfKnownAccountTypes
 
Long getFilesDownloaded()
 
long getDataSourceObjectId()
 
void addWebCategories(Set< String > categories)
 
final Long totalPageViews
 
SearchData.Frequency getFrequency()
 
boolean hasKnownAccountType()
 
Long getPageViewsInLast60Days()
 
final Long pageViewsInLast60
 
TskData.FileKnown getKnown()
 
final Long filesDownloaded
 
final String accountTypes
 
Set< String > getWebCategories()
 
SearchData.Type getType()
 
final Set< String > webCategories