19 package org.sleuthkit.autopsy.centralrepository.datamodel;
 
   21 import java.io.Serializable;
 
   55         this(correlationCase.
getID(), -1, deviceId, 
name, dataSourceObjectId);
 
   71             Long dataSourceObjectId) {
 
   73         this.dataSourceID = dataSourceId;
 
   74         this.deviceID = deviceId;
 
   76         this.dataSourceObjectID = dataSourceObjectId;
 
  106         if (correlationDataSource == null) {
 
  109                 deviceId = curCase.
getSleuthkitCase().getDataSource(dataSource.getId()).getDeviceId();
 
  110             } 
catch (TskDataException | TskCoreException ex) {
 
  111                 throw new EamDbException(
"Error getting data source info: " + ex.getMessage());
 
  113             correlationDataSource = 
new CorrelationDataSource(correlationCase, deviceId, dataSource.getName(), dataSource.getId());
 
  119         return correlationDataSource;
 
  124         StringBuilder str = 
new StringBuilder();
 
  126         str.append(
"ID=").append(Integer.toString(getID()));
 
  127         str.append(
",caseID=").append(Integer.toString(
getCaseID()));
 
  129         str.append(
",name=").append(
getName());
 
  131         return str.toString();
 
static final long serialVersionUID
 
CorrelationDataSource newDataSource(CorrelationDataSource eamDataSource)
 
final Long dataSourceObjectID
 
static CorrelationDataSource fromTSKDataSource(CorrelationCase correlationCase, Content dataSource)
 
static boolean useCentralRepo()
 
static EamDb getInstance()
 
CorrelationDataSource getDataSource(CorrelationCase correlationCase, Long caseDbDataSourceId)
 
SleuthkitCase getSleuthkitCase()
 
Long getDataSourceObjectID()
 
static Case getCurrentCaseThrows()
 
CorrelationDataSource(CorrelationCase correlationCase, String deviceId, String name, long dataSourceObjectId)