20 package org.sleuthkit.autopsy.commonpropertiessearch;
 
   31 abstract class InterCaseCommonAttributeSearcher 
extends AbstractCommonAttributeSearcher {
 
   33     private final CentralRepository dbManager;
 
   37     final Type corAttrType;
 
   50     InterCaseCommonAttributeSearcher(
boolean filterByMediaMimeType, 
boolean filterByDocMimeType, Type corAttrType, 
int percentageThreshold) 
throws CentralRepoException {
 
   51         super(filterByMediaMimeType, filterByDocMimeType, percentageThreshold);
 
   52         dbManager = CentralRepository.getInstance();
 
   53         this.corAttrType = corAttrType;
 
   56     protected CorrelationCase getCorrelationCaseFromId(
int correlationCaseId) 
throws CentralRepoException {
 
   57         for (CorrelationCase cCase : this.dbManager.getCases()) {
 
   58             if (cCase.getID() == correlationCaseId) {
 
   62         throw new IllegalArgumentException(
"Cannot locate case.");