20 package org.sleuthkit.autopsy.commonfilesearch;
 
   22 import java.sql.SQLException;
 
   23 import java.util.HashSet;
 
   26 import org.openide.util.NbBundle;
 
   55             boolean filterByDocMimeType, 
Type corAttrType, 
int percentageThreshold) 
throws EamDbException {
 
   56         super(filterByMediaMimeType, filterByDocMimeType, corAttrType, percentageThreshold);
 
   58         this.corrleationCaseId = correlationCaseId;
 
   59         this.correlationCaseName = 
"";
 
   76         CorrelationCase correlationCase = this.getCorrelationCaseFromId(this.corrleationCaseId);
 
   78         InterCaseSearchResultsProcessor eamDbAttrInst = 
new InterCaseSearchResultsProcessor(this.corAttrType);
 
   79         Map<Integer, CommonAttributeValueList> interCaseCommonFiles = eamDbAttrInst.findSingleInterCaseValuesByCount(
Case.
getCurrentCase(), correlationCase);
 
   80         Set<String> mimeTypesToFilterOn = 
new HashSet<>();
 
   81         if (isFilterByMedia()) {
 
   82             mimeTypesToFilterOn.addAll(MEDIA_PICS_VIDEO_MIME_TYPES);
 
   84         if (isFilterByDoc()) {
 
   85             mimeTypesToFilterOn.addAll(TEXT_FILES_MIME_TYPES);
 
  104         CorrelationCase correlationCase = this.getCorrelationCaseFromId(this.corrleationCaseId);
 
  106         InterCaseSearchResultsProcessor eamDbAttrInst = 
new InterCaseSearchResultsProcessor(this.corAttrType);
 
  107         Map<String, Map<String, CommonAttributeValueList>> interCaseCommonFiles = eamDbAttrInst.findSingleInterCaseValuesByCase(
Case.
getCurrentCase(), correlationCase);
 
  108         Set<String> mimeTypesToFilterOn = 
new HashSet<>();
 
  109         if (isFilterByMedia()) {
 
  110             mimeTypesToFilterOn.addAll(MEDIA_PICS_VIDEO_MIME_TYPES);
 
  112         if (isFilterByDoc()) {
 
  113             mimeTypesToFilterOn.addAll(TEXT_FILES_MIME_TYPES);
 
  121         "# {2} - threshold string",
 
  122         "SingleInterCaseCommonAttributeSearcher.buildTabTitle.titleInterSingle=Common Properties (Central Repository Case: {0}, {1}{2})"})
 
  125     String getTabTitle() {
 
  126         String typeString = this.corAttrType.getDisplayName();
 
  127         if (typeString.equals(
"Files")) {
 
  128             typeString = this.buildCategorySelectionString();
 
  130         return Bundle.SingleInterCaseCommonAttributeSearcher_buildTabTitle_titleInterSingle(this.correlationCaseName, typeString, this.getPercentThresholdString());
 
SingleInterCaseCommonAttributeSearcher(int correlationCaseId, boolean filterByMediaMimeType, boolean filterByDocMimeType, Type corAttrType, int percentageThreshold)
 
final int corrleationCaseId
 
CommonAttributeCountSearchResults findMatchesByCount()
 
String correlationCaseName
 
static Case getCurrentCase()
 
CommonAttributeCaseSearchResults findMatchesByCase()