20 package org.sleuthkit.autopsy.commonpropertiessearch;
 
   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         Set<String> mimeTypesToFilterOn = 
new HashSet<>();
 
   80         if (isFilterByMedia()) {
 
   81             mimeTypesToFilterOn.addAll(MEDIA_PICS_VIDEO_MIME_TYPES);
 
   83         if (isFilterByDoc()) {
 
   84             mimeTypesToFilterOn.addAll(TEXT_FILES_MIME_TYPES);
 
   86         Map<Integer, CommonAttributeValueList> interCaseCommonFiles = eamDbAttrInst.findSingleInterCaseValuesByCount(
Case.
getCurrentCase(), mimeTypesToFilterOn, correlationCase);
 
  105         CorrelationCase correlationCase = this.getCorrelationCaseFromId(this.corrleationCaseId);
 
  107         InterCaseSearchResultsProcessor eamDbAttrInst = 
new InterCaseSearchResultsProcessor(this.corAttrType);
 
  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);
 
  115         Map<String, Map<String, CommonAttributeValueList>> interCaseCommonFiles = eamDbAttrInst.findSingleInterCaseValuesByCase(
Case.
getCurrentCase(), mimeTypesToFilterOn, correlationCase);
 
  123         "# {2} - threshold string",
 
  124         "SingleInterCaseCommonAttributeSearcher.buildTabTitle.titleInterSingle=Common Properties (Central Repository Case: {0}, {1}{2})"})
 
  127     String getTabTitle() {
 
  128         String typeString = this.corAttrType.getDisplayName();
 
  129         if (typeString.equals(
"Files")) {
 
  130             typeString = this.buildCategorySelectionString();
 
  132         return Bundle.SingleInterCaseCommonAttributeSearcher_buildTabTitle_titleInterSingle(this.correlationCaseName, typeString, this.getPercentThresholdString());
 
String correlationCaseName
SingleInterCaseCommonAttributeSearcher(int correlationCaseId, boolean filterByMediaMimeType, boolean filterByDocMimeType, Type corAttrType, int percentageThreshold)
CommonAttributeCaseSearchResults findMatchesByCase()
final int corrleationCaseId
CommonAttributeCountSearchResults findMatchesByCount()
static Case getCurrentCase()