Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
class | CancelButtonListener |
enum | CaseType |
enum | Events |
class | TaskThreadFactory |
class | TSKCaseRepublisher |
Public Member Functions | |
Image | addImage (String imgPath, long imgId, String timeZone) throws CaseActionException |
void | addReport (String localPath, String srcModuleName, String reportName) throws TskCoreException |
Report | addReport (String localPath, String srcModuleName, String reportName, Content parent) throws TskCoreException |
void | closeCase () throws CaseActionException |
SleuthkitCase | createPortableCase (String caseName, File portableCaseFolder) throws TskCoreException |
void | deleteReports (Collection<?extends Report > reports) throws TskCoreException |
void | deleteReports (Collection<?extends Report > reports, boolean deleteFromDisk) throws TskCoreException |
List< Report > | getAllReports () throws TskCoreException |
String | getCacheDirectory () |
String | getCaseDirectory () |
String | getCaseNotes () |
CaseType | getCaseType () |
String | getConfigDirectory () |
String | getCreatedDate () |
List< Content > | getDataSources () throws TskCoreException |
String | getDisplayName () |
String | getExaminer () |
String | getExaminerEmail () |
String | getExaminerPhone () |
String | getExportDirectory () |
String | getLogDirectoryPath () |
String | getModuleDirectory () |
String | getModuleOutputDirectoryRelativePath () |
String | getModulesOutputDirAbsPath () |
String | getName () |
String | getNumber () |
String | getOutputDirectory () |
String | getReportDirectory () |
Services | getServices () |
SleuthkitCase | getSleuthkitCase () |
String | getTempDirectory () |
String | getTextIndexName () |
Set< TimeZone > | getTimeZone () |
Set< TimeZone > | getTimeZones () |
boolean | hasData () |
void | notifyAddingDataSource (UUID eventId) |
void | notifyBlackBoardArtifactTagAdded (BlackboardArtifactTag newTag) |
void | notifyBlackBoardArtifactTagDeleted (BlackboardArtifactTag deletedTag) |
void | notifyCentralRepoCommentChanged (long contentId, String newComment) |
void | notifyContentTagAdded (ContentTag newTag) |
void | notifyContentTagDeleted (ContentTag deletedTag) |
void | notifyDataSourceAdded (Content dataSource, UUID addingDataSourceEventId) |
void | notifyDataSourceNameChanged (Content dataSource, String newName) |
void | notifyFailedAddingDataSource (UUID addingDataSourceEventId) |
void | notifyTagDefinitionChanged (String changedTagName) |
Static Public Member Functions | |
static void | addEventSubscriber (Set< String > eventNames, PropertyChangeListener subscriber) |
static void | addEventSubscriber (String eventName, PropertyChangeListener subscriber) |
static void | addEventTypeSubscriber (Set< Events > eventTypes, PropertyChangeListener subscriber) |
static void | addPropertyChangeListener (PropertyChangeListener listener) |
static void | closeCurrentCase () throws CaseActionException |
static String | convertTimeZone (String timeZoneId) |
static void | create (String caseDir, String caseDisplayName, String caseNumber, String examiner) throws CaseActionException |
static void | create (String caseDir, String caseDisplayName, String caseNumber, String examiner, CaseType caseType) throws CaseActionException |
static void | createAsCurrentCase (String caseDir, String caseDisplayName, String caseNumber, String examiner, CaseType caseType) throws CaseActionException, CaseActionCancelledException |
static void | createAsCurrentCase (CaseType caseType, String caseDir, CaseDetails caseDetails) throws CaseActionException, CaseActionCancelledException |
static void | createCaseDirectory (String caseDirPath, CaseType caseType) throws CaseActionException |
static void | deleteCase (CaseMetadata metadata) throws CaseActionException |
static void | deleteCurrentCase () throws CaseActionException |
static boolean | deleteMultiUserCase (CaseNodeData caseNodeData, CaseMetadata metadata, ProgressIndicator progressIndicator, Logger logger) throws InterruptedException |
static boolean | existsCurrentCase () |
static String | getAppName () |
static String | getAutopsyVersion () |
static Case | getCurrentCase () |
static Case | getCurrentCaseThrows () throws NoCurrentCaseException |
static String | getModulesOutputDirRelPath () |
static PropertyChangeSupport | getPropertyChangeSupport () |
static void | invokeStartupDialog () |
static boolean | isCaseOpen () |
static boolean | isValidName (String caseName) |
static void | open (String caseMetadataFilePath) throws CaseActionException |
static void | openAsCurrentCase (String caseMetadataFilePath) throws CaseActionException |
static boolean | pathExists (String filePath) |
static void | removeEventSubscriber (String eventName, PropertyChangeListener subscriber) |
static void | removeEventSubscriber (Set< String > eventNames, PropertyChangeListener subscriber) |
static void | removeEventTypeSubscriber (Set< Events > eventTypes, PropertyChangeListener subscriber) |
static void | removePropertyChangeListener (PropertyChangeListener listener) |
Private Member Functions | |
Case (CaseType caseType, String caseDir, CaseDetails caseDetails) | |
Case (CaseMetadata caseMetaData) | |
void | acquireSharedCaseDirLock (String caseDir) throws CaseActionException |
void | close () throws CaseActionException |
void | close (ProgressIndicator progressIndicator) |
void | closeAppServiceCaseResources () |
void | createCaseDatabase (ProgressIndicator progressIndicator) throws CaseActionException |
void | createCaseDirectoryIfDoesNotExist (ProgressIndicator progressIndicator) throws CaseActionException |
void | createCaseNodeData (ProgressIndicator progressIndicator) throws CaseActionException |
void | deleteTempfilesFromCaseDirectory (ProgressIndicator progressIndicator) |
String | getOrCreateSubdirectory (String subDirectoryName) |
void | open (boolean isNewCase) throws CaseActionException |
void | open (boolean isNewCase, ProgressIndicator progressIndicator) throws CaseActionException |
void | openAppServiceCaseResources (ProgressIndicator progressIndicator) throws CaseActionException |
void | openCaseDataBase (ProgressIndicator progressIndicator) throws CaseActionException |
void | openCaseLevelServices (ProgressIndicator progressIndicator) |
void | openCommunicationChannels (ProgressIndicator progressIndicator) throws CaseActionException |
void | releaseSharedCaseDirLock (String caseDir) |
void | saveCaseMetadataToFile (ProgressIndicator progressIndicator) throws CaseActionException |
void | switchLoggingToCaseLogsDirectory (ProgressIndicator progressIndicator) |
void | updateCaseNodeData (ProgressIndicator progressIndicator) throws CaseActionException |
Static Private Member Functions | |
static CoordinationService.Lock | acquireExclusiveCaseResourcesLock (String caseDir) throws CaseActionException |
static void | checkForUserCancellation () throws CaseActionCancelledException |
static void | clearTempSubDir (String tempSubDirPath) |
static void | deleteCaseDirectory (CaseMetadata metadata, ProgressIndicator progressIndicator) throws CaseActionException |
static void | deleteFromRecentCases (CaseMetadata metadata, ProgressIndicator progressIndicator) |
static void | deleteMultiUserCase (CaseMetadata metadata, ProgressIndicator progressIndicator) throws CaseActionException, InterruptedException |
static void | deleteMultiUserCaseDatabase (CaseNodeData caseNodeData, CaseMetadata metadata, ProgressIndicator progressIndicator, Logger logger) throws UserPreferencesException, ClassNotFoundException, SQLException, InterruptedException |
static void | deleteMultiUserCaseDirectory (CaseNodeData caseNodeData, CaseMetadata metadata, ProgressIndicator progressIndicator, Logger logger) throws CaseActionException, InterruptedException |
static void | deleteMultiUserCaseTextIndex (CaseNodeData caseNodeData, CaseMetadata metadata, ProgressIndicator progressIndicator, Logger logger) throws KeywordSearchServiceException, InterruptedException |
static void | deleteSingleUserCase (CaseMetadata metadata, ProgressIndicator progressIndicator) throws CaseActionException |
static void | deleteTextIndex (CaseMetadata metadata, ProgressIndicator progressIndicator) throws KeywordSearchServiceException |
static String | displayNameToUniqueName (String caseDisplayName) |
static String | getNameForTitle () |
static boolean | isNoNodeException (CoordinationServiceException ex) |
static void | openAsCurrentCase (Case newCurrentCase, boolean isNewCase) throws CaseActionException, CaseActionCancelledException |
static void | setDeletedItemFlag (CaseNodeData caseNodeData, CaseNodeData.DeletedFlags flag) throws InterruptedException |
static void | updateGUIForCaseClosed () |
static void | updateGUIForCaseOpened (Case newCurrentCase) |
Private Attributes | |
SleuthkitCase | caseDb |
CoordinationService.Lock | caseDirLock |
volatile ExecutorService | caseLockingExecutor |
Services | caseServices |
CollaborationMonitor | collaborationMonitor |
boolean | hasDataSources |
final CaseMetadata | metadata |
final TSKCaseRepublisher | tskEventForwarder = new TSKCaseRepublisher() |
Static Private Attributes | |
static final String | CACHE_FOLDER = "Cache" |
static final String | CASE_ACTION_THREAD_NAME = "%s-case-action" |
static final String | CASE_RESOURCES_THREAD_NAME = "%s-manage-case-resources" |
static final Object | caseActionSerializationLock = new Object() |
static final String | CONFIG_FOLDER = "Config" |
static volatile Case | currentCase |
static final int | DIR_LOCK_TIMOUT_HOURS = 12 |
static final String | EVENT_CHANNEL_NAME = "%s-Case-Events" |
static final AutopsyEventPublisher | eventPublisher = new AutopsyEventPublisher() |
static final String | EXPORT_FOLDER = "Export" |
static final String | LOG_FOLDER = "Log" |
static final Logger | logger = Logger.getLogger(Case.class.getName()) |
static volatile Frame | mainFrame |
static final String | MODULE_FOLDER = "ModuleOutput" |
static final String | NO_NODE_ERROR_MSG_FRAGMENT = "KeeperErrorCode = NoNode" |
static final String | REPORTS_FOLDER = "Reports" |
static final int | RESOURCES_LOCK_TIMOUT_HOURS = 12 |
static final String | SINGLE_USER_CASE_DB_NAME = "autopsy.db" |
static final String | TEMP_FOLDER = "Temp" |
An Autopsy case. Currently, only one case at a time may be open.
|
private |
Constructs a Case object for a new Autopsy case.
caseType | The type of case (single-user or multi-user). |
caseDir | The full path of the case directory. The directory will be created if it doesn't already exist; if it exists, it is ASSUMED it was created by calling createCaseDirectory. |
caseDetails | Contains details of the case, such as examiner, display name, etc |
Definition at line 1701 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.displayNameToUniqueName(), and org.sleuthkit.autopsy.casemodule.CaseDetails.getCaseDisplayName().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createAsCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
private |
|
staticprivate |
Acquires an exclusive case resources lock.
caseDir | The full path of the case directory. |
CaseActionException | with a user-friendly message if the lock cannot be acquired due to an exception. |
Definition at line 981 of file Case.java.
References org.sleuthkit.autopsy.coordinationservice.CoordinationService.CategoryNode.CASES, org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseResourcesNodePath(), org.sleuthkit.autopsy.coordinationservice.CoordinationService.getInstance(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.tryGetExclusiveLock().
Referenced by org.sleuthkit.autopsy.casemodule.Case.close(), and org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
Acquires a shared case directory lock for the current case.
caseDir | The full path of the case directory. |
CaseActionException | with a user-friendly message if the lock cannot be acquired. |
Definition at line 2515 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseDirLock, org.sleuthkit.autopsy.coordinationservice.CoordinationService.CategoryNode.CASES, org.sleuthkit.autopsy.coordinationservice.CoordinationService.getInstance(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.tryGetSharedLock().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
static |
Adds a subscriber to specific case events.
eventNames | The events the subscriber is interested in. |
subscriber | The subscriber (PropertyChangeListener) to add. |
Definition at line 467 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.addSubscriber().
Referenced by org.sleuthkit.autopsy.casemodule.Case.addPropertyChangeListener().
|
static |
Adds a subscriber to specific case events.
eventName | The event the subscriber is interested in. |
subscriber | The subscriber (PropertyChangeListener) to add. |
Definition at line 492 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.addSubscriber().
|
static |
Adds a subscriber to specific case events.
eventTypes | The events the subscriber is interested in. |
subscriber | The subscriber (PropertyChangeListener) to add. |
Definition at line 477 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.addSubscriber().
Referenced by org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.addNotify(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.addNotify(), org.sleuthkit.autopsy.communications.FiltersPanel.addNotify(), org.sleuthkit.autopsy.datamodel.InterestingHits.SetNameFactory.addNotify(), org.sleuthkit.autopsy.datamodel.HashsetHits.HashsetNameFactory.addNotify(), org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.addNotify(), org.sleuthkit.autopsy.datamodel.EmailExtracted.AccountFactory.addNotify(), org.sleuthkit.autopsy.communications.VisualizationPanel.addNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountTypeFactory.addNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.DefaultAccountFactory.addNotify(), org.sleuthkit.autopsy.datamodel.KeywordHits.ListFactory.addNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.ViewModeFactory.addNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.FileWithCCNFactory.addNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.BINFactory.addNotify(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode(), org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.FileTypesByExtObservable(), org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.GlobalSettingsPanel(), org.sleuthkit.autopsy.datamodel.ImageNode.ImageNode(), org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.onAdd(), org.sleuthkit.autopsy.report.ReportWizardAction.ReportWizardAction(), org.sleuthkit.autopsy.ingest.IngestManager.subscribeToCaseEvents(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.subscribeToChangeEvents(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.ViewPreferencesPanel(), and org.sleuthkit.autopsy.datamodel.VolumeNode.VolumeNode().
Image org.sleuthkit.autopsy.casemodule.Case.addImage | ( | String | imgPath, |
long | imgId, | ||
String | timeZone | ||
) | throws CaseActionException |
Adds an image to the current case after it has been added to the DB. Sends out event and reopens windows if needed.
imgPath | The path of the image file. |
imgId | The ID of the image. |
timeZone | The time zone of the image. |
Definition at line 3251 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.notifyDataSourceAdded().
|
static |
Adds a subscriber to all case events. To subscribe to only specific events, use one of the overloads of addEventSubscriber.
listener | The subscriber (PropertyChangeListener) to add. |
Definition at line 440 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.addEventSubscriber().
Referenced by org.sleuthkit.autopsy.communications.OpenCommVisualizationToolAction.OpenCommVisualizationToolAction(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.restored().
void org.sleuthkit.autopsy.casemodule.Case.addReport | ( | String | localPath, |
String | srcModuleName, | ||
String | reportName | ||
) | throws TskCoreException |
Adds a report to the case.
localPath | The path of the report file, must be in the case directory or one of its subdirectories. |
srcModuleName | The name of the module that created the report. |
reportName | The report name, may be empty. |
TskCoreException | if there is a problem adding the report to the case database. |
Definition at line 1570 of file Case.java.
Referenced by org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.generateReport(), org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.communications.VisualizationPanel.handleSnapshotEvent(), and org.sleuthkit.autopsy.timeline.actions.SaveSnapshotAsReport.SaveSnapshotAsReport().
Report org.sleuthkit.autopsy.casemodule.Case.addReport | ( | String | localPath, |
String | srcModuleName, | ||
String | reportName, | ||
Content | parent | ||
) | throws TskCoreException |
Adds a report to the case.
localPath | The path of the report file, must be in the case directory or one of its subdirectories. |
srcModuleName | The name of the module that created the report. |
reportName | The report name, may be empty. |
parent | The Content used to create the report, if available. |
TskCoreException | if there is a problem adding the report to the case database. |
Definition at line 1588 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
|
staticprivate |
Checks current thread for an interrupt. Usage: checking for user cancellation of a case creation/opening operation, as reflected in the exception message.
CaseActionCancelledException | If the current thread is interrupted, assumes interrupt was due to a user action. |
Definition at line 1957 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.open(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), and org.sleuthkit.autopsy.casemodule.Case.openCommunicationChannels().
|
staticprivate |
Empties the temp subdirectory for the current case.
Definition at line 1134 of file Case.java.
References org.sleuthkit.autopsy.coreutils.FileUtil.deleteDir().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteTempfilesFromCaseDirectory().
|
private |
Closes the case.
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2341 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.acquireExclusiveCaseResourcesLock(), org.sleuthkit.autopsy.progress.ProgressIndicator.finish(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.casemodule.Case.releaseSharedCaseDirLock(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.coreutils.ThreadUtils.shutDownTaskExecutor(), org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE, and org.sleuthkit.autopsy.progress.ProgressIndicator.start().
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
Closes the case.
progressIndicator | A progress indicator. |
Definition at line 2416 of file Case.java.
References org.sleuthkit.autopsy.ingest.IngestManager.cancelAllIngestJobs(), org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.CASE_CLOSED, org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(), org.sleuthkit.autopsy.events.AutopsyEventPublisher.closeRemoteEventChannel(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.coreutils.PlatformUtil.getLogDirectory(), org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE, org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
|
private |
Allows any registered application-level services to close any resources specific to this case.
Definition at line 2462 of file Case.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.progress.ProgressIndicator.finish(), org.sleuthkit.autopsy.casemodule.Case.logger, org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.coreutils.ThreadUtils.shutDownTaskExecutor(), and org.sleuthkit.autopsy.progress.ProgressIndicator.start().
Referenced by org.sleuthkit.autopsy.casemodule.Case.close().
void org.sleuthkit.autopsy.casemodule.Case.closeCase | ( | ) | throws CaseActionException |
Closes this Autopsy case.
CaseActionException | if there is a problem closing the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 3122 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase().
|
static |
Closes the current case.
CaseActionException | If there is a problem closing the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 699 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseActionSerializationLock, org.sleuthkit.autopsy.casemodule.Case.close(), org.sleuthkit.autopsy.casemodule.Case.Events.CURRENT_CASE, org.sleuthkit.autopsy.casemodule.Case.currentCase, org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getDisplayName(), org.sleuthkit.autopsy.casemodule.Case.getName(), org.sleuthkit.autopsy.events.AutopsyEventPublisher.publishLocally(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseClosed().
Referenced by org.sleuthkit.autopsy.actions.ExitAction.actionPerformed(), org.sleuthkit.autopsy.casemodule.CaseCloseAction.actionPerformed(), org.sleuthkit.autopsy.casemodule.Case.closeCase(), org.sleuthkit.autopsy.core.Installer.closing(), org.sleuthkit.autopsy.casemodule.Case.deleteCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run(), and org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.stop().
|
static |
Converts a Java timezone id to a coded string with only alphanumeric characters. Example: "America/New_York" is converted to "EST5EDT" by this method.
timeZoneId | The time zone id. |
Definition at line 3150 of file Case.java.
References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.convertToAlphaNumericFormat().
|
static |
Creates a new, single-user Autopsy case.
caseDir | The full path of the case directory. The directory will be created if it doesn't already exist; if it exists, it is ASSUMED it was created by calling createCaseDirectory. |
caseDisplayName | The display name of case, which may be changed later by the user. |
caseNumber | The case number, can be the empty string. |
examiner | The examiner to associate with the case, can be the empty string. |
CaseActionException | if there is a problem creating the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 3067 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.createAsCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE.
|
static |
Creates a new Autopsy case and makes it the current case.
caseDir | The full path of the case directory. The directory will be created if it doesn't already exist; if it exists, it is ASSUMED it was created by calling createCaseDirectory. |
caseDisplayName | The display name of case, which may be changed later by the user. |
caseNumber | The case number, can be the empty string. |
examiner | The examiner to associate with the case, can be the empty string. |
caseType | The type of case (single-user or multi-user). |
CaseActionException | if there is a problem creating the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 3092 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.createAsCurrentCase().
|
static |
Creates a new case and makes it the current case.
IMPORTANT: This method should not be called in the event dispatch thread (EDT).
caseDir | The full path of the case directory. The directory will be created if it doesn't already exist; if it exists, it is ASSUMED it was created by calling createCaseDirectory. |
caseDisplayName | The display name of case, which may be changed later by the user. |
caseNumber | The case number, can be the empty string. |
examiner | The examiner to associate with the case, can be the empty string. |
caseType | The type of case (single-user or multi-user). |
CaseActionException | If there is a problem creating the case. |
CaseActionCancelledException | If creating the case is cancelled. |
Definition at line 567 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.create(), and org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.openCase().
|
static |
Creates a new case and makes it the current case.
IMPORTANT: This method should not be called in the event dispatch thread (EDT).
caseDir | The full path of the case directory. The directory will be created if it doesn't already exist; if it exists, it is ASSUMED it was created by calling createCaseDirectory. |
caseType | The type of case (single-user or multi-user). |
caseDetails | Contains the modifiable details of the case such as the case display name, the case number, and the examiner related data. |
CaseActionException | If there is a problem creating the case. |
CaseActionCancelledException | If creating the case is cancelled. |
Definition at line 594 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.Case(), org.sleuthkit.autopsy.casemodule.CaseDetails.getCaseDisplayName(), and org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
private |
Creates the node data for the case directory lock coordination service node, the case directory, the case database and the case metadata file.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2112 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.core.UserPreferences.getDatabaseConnectionInfo(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE, and org.sleuthkit.autopsy.casemodule.Case.SINGLE_USER_CASE_DB_NAME.
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
static |
Creates a case directory and its subdirectories.
caseDirPath | Path to the case directory (typically base + case name). |
caseType | The type of case, single-user or multi-user. |
CaseActionException | throw if could not create the case dir |
Definition at line 884 of file Case.java.
References org.sleuthkit.autopsy.coreutils.NetworkUtils.getLocalHostName(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE.
Referenced by org.sleuthkit.autopsy.casemodule.Case.createCaseDirectoryIfDoesNotExist(), and org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.openCase().
|
private |
Creates the case directory, if it does not already exist.
TODO (JIRA-2180): Always create the case directory as part of the case creation process.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 1979 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.createCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), and org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
Creates the node data for the case directory lock coordination service node.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2040 of file Case.java.
References org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.createCaseNodeData(), org.sleuthkit.autopsy.casemodule.Case.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE, and org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
SleuthkitCase org.sleuthkit.autopsy.casemodule.Case.createPortableCase | ( | String | caseName, |
File | portableCaseFolder | ||
) | throws TskCoreException |
Create an empty portable case from the current case
TskCoreException |
Definition at line 1921 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getCaseNotes(), org.sleuthkit.autopsy.casemodule.Case.getExaminer(), org.sleuthkit.autopsy.casemodule.Case.getExaminerEmail(), org.sleuthkit.autopsy.casemodule.Case.getExaminerPhone(), org.sleuthkit.autopsy.casemodule.Case.getNumber(), org.sleuthkit.autopsy.casemodule.Case.metadata, org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE, and org.sleuthkit.autopsy.casemodule.Case.SINGLE_USER_CASE_DB_NAME.
|
static |
Deletes a case. The case to be deleted must not be the "current case." Deleting the current case must be done by calling Case.deleteCurrentCase.
metadata | The case metadata. |
CaseActionException | If there were one or more errors deleting the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 757 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseActionSerializationLock, org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase(), org.sleuthkit.autopsy.casemodule.Case.deleteSingleUserCase(), org.sleuthkit.autopsy.progress.ProgressIndicator.finish(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE, and org.sleuthkit.autopsy.progress.ProgressIndicator.start().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteCurrentCase().
|
staticprivate |
Attempts to delete the case directory for a case.
metadata | The case metadata. |
progressIndicator | A progress indicator. |
CaseActionException | If there is an error deleting the case directory. |
Definition at line 2849 of file Case.java.
References org.sleuthkit.autopsy.coreutils.FileUtil.deleteDir(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), and org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseDirectory(), and org.sleuthkit.autopsy.casemodule.Case.deleteSingleUserCase().
|
static |
Deletes the current case.
CaseActionException | If there is a problem deleting the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 730 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseActionSerializationLock, org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.deleteCase().
|
staticprivate |
Attempts to remove a case from the recent cases menu if the main application window is present.
metadata | The case metadata. |
progressIndicator | A progress indicator. |
Definition at line 2866 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase(), and org.sleuthkit.autopsy.casemodule.Case.deleteSingleUserCase().
|
staticprivate |
Deletes a multi-user case. This method does so after acquiring the case directory coordination service lock and is intended to be used for deleting simple multi-user cases without auto ingest input. Note that the case directory coordination service node for the case is only deleted if no errors occurred.
metadata | The case metadata. |
progressIndicator | A progress indicator. |
CaseActionException | If there were one or more errors deleting the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
InterruptedException | If the thread this code is running in is interrupted while blocked, i.e., if cancellation of the operation is detected during a wait. |
Definition at line 2623 of file Case.java.
References org.sleuthkit.autopsy.coordinationservice.CoordinationService.CategoryNode.CASES, org.sleuthkit.autopsy.coordinationservice.CoordinationService.deleteNode(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseDirectoryNodePath(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName(), org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseResourcesNodePath(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDirectory(), org.sleuthkit.autopsy.coordinationservice.CoordinationService.getInstance(), org.sleuthkit.autopsy.casemodule.Case.isNoNodeException(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.readCaseNodeData(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.tryGetExclusiveLock().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteCase().
|
static |
IMPORTANT: This is a "beta" method and is subject to change or removal without notice!
Deletes a mulit-user case by attempting to delete the case database, the text index, the case directory, and the case resources coordination service node for a case, and removes the case from the recent cases menu of the main application window. Callers of this method MUST acquire and release the case directory lock for the case and are responsible for deleting the corresponding coordination service nodes, if desired.
caseNodeData | The coordination service node data for the case. |
metadata | The case metadata. |
progressIndicator | A progress indicator. |
logger | A logger. |
InterruptedException | If the thread this code is running in is interrupted while blocked, i.e., if cancellation of the operation is detected during a wait. |
Definition at line 2710 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.deleteFromRecentCases(), org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseDatabase(), org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseTextIndex(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), and org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName().
|
staticprivate |
Attempts to delete the case database for a multi-user case.
caseNodeData | The coordination service node data for the case. |
metadata | The case metadata. |
progressIndicator | A progress indicator. |
logger | A logger. |
UserPreferencesException | if there is an error getting the database server connection info. |
ClassNotFoundException | if there is an error gettting the required JDBC driver. |
SQLException | if there is an error executing the SQL to drop the database from the database server. |
InterruptedException | If interrupted while blocked waiting for coordination service data to be written to the coordination service node database. |
Definition at line 2753 of file Case.java.
References org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.DeletedFlags.CASE_DB, org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDatabaseName(), org.sleuthkit.autopsy.core.UserPreferences.getDatabaseConnectionInfo(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDisplayName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.isDeletedFlagSet(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.casemodule.Case.setDeletedItemFlag().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().
|
staticprivate |
Attempts to delete the case directory for a multi-user case.
caseNodeData | The coordination service node data for the case. |
metadata | The case metadata. |
progressIndicator | A progress indicator. |
logger | A logger. |
CaseActionException | if there is an error deleting the case directory. |
InterruptedException | If interrupted while blocked waiting for coordination service data to be written to the coordination service node database. |
Definition at line 2829 of file Case.java.
References org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.DeletedFlags.CASE_DIR, org.sleuthkit.autopsy.casemodule.Case.deleteCaseDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDisplayName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.isDeletedFlagSet(), and org.sleuthkit.autopsy.casemodule.Case.setDeletedItemFlag().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().
|
staticprivate |
Attempts to delete the text index for a multi-user case.
caseNodeData | The coordination service node data for the case. |
metadata | The case metadata. |
progressIndicator | A progress indicator. |
logger | A logger. |
KeywordSearchServiceException | If there is an error deleting the text index. |
InterruptedException | If interrupted while blocked waiting for coordination service data to be written to the coordination service node database. |
Definition at line 2788 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.deleteTextIndex(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDisplayName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.isDeletedFlagSet(), org.sleuthkit.autopsy.casemodule.Case.setDeletedItemFlag(), and org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.DeletedFlags.TEXT_INDEX.
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().
void org.sleuthkit.autopsy.casemodule.Case.deleteReports | ( | Collection<?extends Report > | reports | ) | throws TskCoreException |
Deletes one or more reports from the case database. Does not delete the report files.
reports | The report(s) to be deleted from the case. |
TskCoreException | if there is an error deleting the report(s). |
Definition at line 1625 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish(), and org.sleuthkit.autopsy.casemodule.Case.Events.REPORT_DELETED.
Referenced by org.sleuthkit.autopsy.datamodel.Reports.ReportNode.DeleteReportAction.actionPerformed(), and org.sleuthkit.autopsy.casemodule.Case.deleteReports().
void org.sleuthkit.autopsy.casemodule.Case.deleteReports | ( | Collection<?extends Report > | reports, |
boolean | deleteFromDisk | ||
) | throws TskCoreException |
Deletes reports from the case.
reports | Collection of Report to be deleted from the case. |
deleteFromDisk | No longer supported - ignored. |
TskCoreException |
Definition at line 3284 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.deleteReports().
|
staticprivate |
Deletes a single-user case.
metadata | The case metadata. |
progressIndicator | A progress indicator. |
CaseActionException | If there were one or more errors deleting the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2571 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.deleteCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.deleteFromRecentCases(), org.sleuthkit.autopsy.casemodule.Case.deleteTextIndex(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName(), and org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteCase().
|
private |
Deletes any files in the temp subdirectory of the case directory.
progressIndicator | A progress indicator. |
Definition at line 2087 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.clearTempSubDir(), org.sleuthkit.autopsy.casemodule.Case.getTempDirectory(), and org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
staticprivate |
Attempts to delete the text index for a case.
metadata | The case metadata. |
progressIndicator | A progress indicator. |
KeywordSearchServiceException | If there is an error deleting the text index. |
Definition at line 2808 of file Case.java.
References org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseTextIndex(), and org.sleuthkit.autopsy.casemodule.Case.deleteSingleUserCase().
|
staticprivate |
Transforms a case display name into a unique case name that can be used to identify the case even if the display name is changed.
caseDisplayName | A case display name. |
Definition at line 844 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.Case().
|
static |
Check if case is currently open.
Definition at line 3189 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.isCaseOpen().
List<Report> org.sleuthkit.autopsy.casemodule.Case.getAllReports | ( | ) | throws TskCoreException |
Gets the reports that have been added to the case.
TskCoreException | if there is a problem querying the case database. |
Definition at line 1613 of file Case.java.
Referenced by org.sleuthkit.autopsy.datamodel.Reports.ReportNodeFactory.createKeys().
|
static |
Gets the application name.
Definition at line 3043 of file Case.java.
References org.sleuthkit.autopsy.core.UserPreferences.getAppName().
|
static |
Gets the Autopsy version.
Definition at line 3177 of file Case.java.
References org.sleuthkit.autopsy.coreutils.Version.getVersion().
String org.sleuthkit.autopsy.casemodule.Case.getCacheDirectory | ( | ) |
Gets the full path to the cache directory for this case, creating it if it does not exist.
Definition at line 1296 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.coreutils.ImageUtils.getCachedThumbnailLocation().
String org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory | ( | ) |
Gets the path to the top-level case directory.
Definition at line 1254 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory().
Referenced by org.sleuthkit.autopsy.keywordsearch.SolrSearchService.closeCaseResources(), org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.findRootDirectoryForCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getOutputDirectory(), org.sleuthkit.autopsy.casemodule.Case.open(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources(), and org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.startUp().
String org.sleuthkit.autopsy.casemodule.Case.getCaseNotes | ( | ) |
Gets the case notes.
Definition at line 1245 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseNotes().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
CaseType org.sleuthkit.autopsy.casemodule.Case.getCaseType | ( | ) |
Gets the case type.
Definition at line 1173 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createCaseNodeData(), org.sleuthkit.autopsy.casemodule.Case.getModuleOutputDirectoryRelativePath(), org.sleuthkit.autopsy.ingest.IngestManager.startIngestJob(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.startUp(), org.sleuthkit.autopsy.ingest.IngestManager.subscribeToServiceMonitorEvents(), org.sleuthkit.autopsy.casemodule.Case.updateCaseNodeData(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().
String org.sleuthkit.autopsy.casemodule.Case.getConfigDirectory | ( | ) |
Gets the full path to the config directory for this case, creating it if it does not exist.
Definition at line 1336 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.casemodule.CasePreferences.loadFromStorage(), and org.sleuthkit.autopsy.casemodule.CasePreferences.saveToStorage().
String org.sleuthkit.autopsy.casemodule.Case.getCreatedDate | ( | ) |
Gets the case create date.
Definition at line 1182 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCreatedDate().
Referenced by org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCaseCreatedDate().
|
static |
Gets the current case. This method should only be called by clients that can be sure a case is currently open. Some examples of suitable clients are data source processors, ingest modules, and report modules.
Definition at line 650 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows().
Referenced by org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addCalllog(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addContact(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addGPSLocation(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addInstalledProgram(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addMessage(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addRelationship(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebBookmark(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebCookie(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebDownload(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebFormAddress(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebFormAutofill(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebHistory(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.AppDBParserHelper(), org.sleuthkit.autopsy.timeline.TimeLineTopComponent.componentOpened(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.createAccountInstance(), org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeSearchAction.createAndShowPanel(), org.sleuthkit.autopsy.commonpropertiessearch.AllInterCaseCommonAttributeSearcher.findMatchesByCase(), org.sleuthkit.autopsy.commonpropertiessearch.SingleInterCaseCommonAttributeSearcher.findMatchesByCase(), org.sleuthkit.autopsy.commonpropertiessearch.AllInterCaseCommonAttributeSearcher.findMatchesByCount(), org.sleuthkit.autopsy.commonpropertiessearch.SingleInterCaseCommonAttributeSearcher.findMatchesByCount(), org.sleuthkit.autopsy.commonpropertiessearch.CentralRepoCommonAttributeInstance.generateNodes(), org.sleuthkit.autopsy.casemodule.services.Services.getArtifactsBlackboard(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCaseCreatedDate(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCorrelationAttributesFromNode(), org.sleuthkit.autopsy.ingest.IngestServices.getCurrentCase(), org.sleuthkit.autopsy.ingest.IngestServices.getCurrentSleuthkitCaseDb(), org.sleuthkit.autopsy.casemodule.services.Blackboard.getOrAddArtifactType(), org.sleuthkit.autopsy.casemodule.services.Blackboard.getOrAddAttributeType(), org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.openCase(), org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.populateCentralRepositoryData(), org.sleuthkit.autopsy.modules.dataSourceIntegrity.DataSourceIntegrityIngestModule.process(), org.sleuthkit.autopsy.modules.plaso.PlasoIngestModule.process(), org.sleuthkit.autopsy.logicalimager.dsp.LogicalImagerDSProcessor.run(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().
|
static |
Gets the current case, if there is one, or throws an exception if there is no current case. This method should only be called by methods known to run in threads where it is possible that another thread has closed the current case. The exception provides some protection from the consequences of the race condition between the calling thread and a case closing thread, but it is not fool-proof. Background threads calling this method should put all operations in an exception firewall with a try and catch-all block to handle the possibility of bad timing.
TODO (JIRA-3825): Introduce a reference counting scheme for this get case method.
NoCurrentCaseException | if there is no current case. |
Definition at line 678 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.currentCase.
Referenced by org.sleuthkit.autopsy.actions.AddBookmarkTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteContentTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteBlackboardArtifactTagAction.actionPerformed(), org.sleuthkit.autopsy.centralrepository.AddEditCentralRepoCommentAction.actionPerformed(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed(), org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), org.sleuthkit.autopsy.datamodel.Reports.ReportNode.DeleteReportAction.actionPerformed(), org.sleuthkit.autopsy.casemodule.services.TagsManager.addBlackboardArtifactTag(), org.sleuthkit.autopsy.casemodule.services.TagsManager.addContentTag(), org.sleuthkit.autopsy.communications.VisualizationPanel.addNotify(), org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.addTag(), org.sleuthkit.autopsy.actions.AddContentTagAction.addTag(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addTagProperty(), org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.canClose(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.canClose(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.canClose(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.canClose(), org.sleuthkit.autopsy.casemodule.ImageDSProcessor.canProcess(), org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.CommentChangedEvent(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentOpened(), org.sleuthkit.autopsy.datamodel.AbstractContentNode< Image >.contentHasVisibleContentChildren(), org.sleuthkit.autopsy.coreutils.SQLiteTableReader.copyFileToTempDirectory(), org.sleuthkit.autopsy.ingest.DataSourceIngestJob.createIngestPipelines(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.createInterestingFileHit(), org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Reports.ReportNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagNodeFactory.createKeys(), org.sleuthkit.autopsy.centralrepository.contentviewer.OtherOccurrencesFilesTableModel.createNodeKey(), org.sleuthkit.autopsy.datamodel.VirtualDirectoryNode.createSheet(), org.sleuthkit.autopsy.datamodel.ImageNode.createSheet(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet(), org.sleuthkit.autopsy.casemodule.services.TagsManager.deleteBlackboardArtifactTag(), org.sleuthkit.autopsy.casemodule.services.TagsManager.deleteContentTag(), org.sleuthkit.autopsy.actions.DeleteFileContentTagAction.deleteTag(), org.sleuthkit.autopsy.actions.DeleteFileBlackboardArtifactTagAction.deleteTag(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.deleteTag(), org.sleuthkit.autopsy.actions.GetTagNameDialog.display(), org.sleuthkit.autopsy.actions.GetTagNameAndCommentDialog.display(), org.sleuthkit.autopsy.modules.embeddedfileextractor.ExtractArchiveWithPasswordAction.ExtractAndIngestWorker.doInBackground(), org.sleuthkit.autopsy.corecomponents.DataContentViewerHex.BackgroundFileCopyTask.doInBackground(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.export(), org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles(), org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.extractLogicalEvidenceFileContents(), org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.FileTypesByExtObservable(), org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeCaseSearchResults.filterMetadata(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteDB(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.coreutils.SQLiteTableReader.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.commonpropertiessearch.IntraCaseCommonAttributeSearcher.findMatchesByCount(), org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.findRootDirectoryForCurrentCase(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.fromTSKDataSource(), org.sleuthkit.autopsy.report.taggedhashes.AddTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.generateReport(), org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAllTagsFromDatabase(), org.sleuthkit.autopsy.actions.AddTagAction.TagMenu.getAndAddTag(), org.sleuthkit.autopsy.coreutils.ImageUtils.getCachedThumbnailLocation(), org.sleuthkit.autopsy.ingest.IngestServices.getCase(), org.sleuthkit.autopsy.ingest.IngestServices.getCaseDatabase(), org.sleuthkit.autopsy.timeline.TimeLineModule.getController(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCorrelatedInstances(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.events.DataSourceNameChangedEvent.getDataSource(), org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getDataSource(), org.sleuthkit.autopsy.filesearch.DataSourcePanel.getDataSourceArray(), org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader.getDataSourceMap(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.getInstanceFromContent(), org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getNewValue(), org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.getNewValue(), org.sleuthkit.autopsy.ingest.events.FileAnalyzedEvent.getNewValue(), org.sleuthkit.autopsy.casemodule.events.DataSourceAddedEvent.getNewValue(), org.sleuthkit.autopsy.ingest.events.ContentChangedEvent.getOldValue(), org.sleuthkit.autopsy.ingest.events.BlackboardPostEvent.getOldValue(), org.sleuthkit.autopsy.report.TableReportGenerator.ArtifactData.getOrderedRowDataAsStrings(), org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.getRawArtifactText(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.getTag(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getTagDisplayNames(), org.sleuthkit.autopsy.coreutils.VideoUtils.getVideoFileInTempDir(), org.sleuthkit.autopsy.communications.VisualizationPanel.handleSnapshotEvent(), org.sleuthkit.autopsy.ingest.IngestJobSettingsPanel.IngestJobSettingsPanel(), org.sleuthkit.autopsy.communications.FiltersPanel.initalizeDateTimeFilters(), org.sleuthkit.autopsy.ingest.RunIngestAction.isEnabled(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeCorrelationAttributeInstanceUsingTypeValue(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeInstanceFromContent(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeInstancesFromBlackboardArtifact(), org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.makeKeys(), org.sleuthkit.autopsy.actions.GetTagNameDialog.okButtonActionPerformed(), org.sleuthkit.autopsy.actions.OpenOutputFolderAction.performAction(), org.sleuthkit.autopsy.healthmonitor.HealthMonitor.performDatabaseQuery(), org.sleuthkit.autopsy.report.ArtifactSelectionDialog.populateList(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.populateTable(), org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.populateTagData(), org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process(), org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.process(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.process(), org.sleuthkit.autopsy.filesearch.DateSearchFilter.CasePropertyChangeListener.propertyChange(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.propertyChange(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.rebuildTree(), org.sleuthkit.autopsy.casemodule.IngestJobInfoPanel.refresh(), org.sleuthkit.autopsy.actions.ReplaceContentTagAction.replaceTag(), org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.replaceTag(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.TagDefinitionChangeTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener.AnalysisCompleteTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.DataSourceAddedTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.DataSourceNameChangedTask.run(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.saveCaseInfo(), org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV(), org.sleuthkit.autopsy.timeline.actions.SaveSnapshotAsReport.SaveSnapshotAsReport(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.saveTag(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.saveToCSV(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline(), org.sleuthkit.autopsy.ingest.IngestManager.startIngestJob(), org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.startUp(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.startUp(), org.sleuthkit.autopsy.ingest.IngestManager.subscribeToServiceMonitorEvents(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.tooManyFiles(), org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.updateDeviceFilter(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagTypeNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagTypeNode.updateDisplayName(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.updateOnCaseSelection(), and org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.updateTag().
List<Content> org.sleuthkit.autopsy.casemodule.Case.getDataSources | ( | ) | throws TskCoreException |
Gets the data sources for the case.
org.sleuthkit.datamodel.TskCoreException | if there is a problem querying the case database. |
Definition at line 1375 of file Case.java.
Referenced by org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeSearchAction.createAndShowPanel(), org.sleuthkit.autopsy.casemodule.Case.getTimeZones(), org.sleuthkit.autopsy.casemodule.Case.hasData(), and org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.makeKeys().
String org.sleuthkit.autopsy.casemodule.Case.getDisplayName | ( | ) |
Gets the case name that can be changed by the user.
Definition at line 1200 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDisplayName().
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeCaseSearchResults.filterMetadata(), org.sleuthkit.autopsy.commonpropertiessearch.IntraCaseCommonAttributeSearcher.findMatchesByCount(), org.sleuthkit.autopsy.commonpropertiessearch.CentralRepoCommonAttributeInstance.generateNodes(), org.sleuthkit.autopsy.report.taggedhashes.AddTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.communications.VisualizationPanel.handleSnapshotEvent(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.populateTable(), org.sleuthkit.autopsy.timeline.actions.SaveSnapshotAsReport.SaveSnapshotAsReport(), and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().
String org.sleuthkit.autopsy.casemodule.Case.getExaminer | ( | ) |
Gets the examiner name.
Definition at line 1218 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getExaminer().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
String org.sleuthkit.autopsy.casemodule.Case.getExaminerEmail | ( | ) |
Gets the examiner email address.
Definition at line 1236 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getExaminerEmail().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
String org.sleuthkit.autopsy.casemodule.Case.getExaminerPhone | ( | ) |
Gets the examiner phone number.
Definition at line 1227 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getExaminerPhone().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
String org.sleuthkit.autopsy.casemodule.Case.getExportDirectory | ( | ) |
Gets the full path to the export directory for this case, creating it if it does not exist.
Definition at line 1306 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.getExportDirectory(), org.sleuthkit.autopsy.directorytree.ExportCSVAction.getExportDirectory(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.saveToCSV(), org.sleuthkit.autopsy.directorytree.ExtractAction.updateExportDirectory(), and org.sleuthkit.autopsy.directorytree.ExportCSVAction.updateExportDirectory().
String org.sleuthkit.autopsy.casemodule.Case.getLogDirectoryPath | ( | ) |
Gets the full path to the log directory for this case, creating it if it does not exist.
Definition at line 1316 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), and org.sleuthkit.autopsy.casemodule.Case.switchLoggingToCaseLogsDirectory().
String org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory | ( | ) |
Gets the full path to the module output directory for this case, creating it if it does not exist.
Definition at line 1346 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.ExtractArchiveWithPasswordAction.ExtractAndIngestWorker.doInBackground(), org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.extractLogicalEvidenceFileContents(), org.sleuthkit.autopsy.casemodule.Case.getModuleOutputDirectoryRelativePath(), org.sleuthkit.autopsy.casemodule.Case.getModulesOutputDirAbsPath(), org.sleuthkit.autopsy.recentactivity.RAImageIngestModule.getRAOutputPath(), org.sleuthkit.autopsy.modules.plaso.PlasoIngestModule.process(), org.sleuthkit.autopsy.logicalimager.dsp.LogicalImagerDSProcessor.run(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.startUp().
String org.sleuthkit.autopsy.casemodule.Case.getModuleOutputDirectoryRelativePath | ( | ) |
Gets the path of the module output directory for this case, relative to the case directory, creating it if it does not exist.
Definition at line 1357 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.ExtractArchiveWithPasswordAction.ExtractAndIngestWorker.doInBackground(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.startUp().
String org.sleuthkit.autopsy.casemodule.Case.getModulesOutputDirAbsPath | ( | ) |
Get module output directory path where modules should save their permanent data.
Definition at line 3232 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory().
|
static |
Get relative (with respect to case dir) module output directory path where modules should save their permanent data. The directory is a subdirectory of this case dir.
String org.sleuthkit.autopsy.casemodule.Case.getName | ( | ) |
Gets the unique and immutable case name.
Definition at line 1191 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName().
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.casemodule.events.CommentChangedEvent.CommentChangedEvent(), org.sleuthkit.autopsy.centralrepository.contentviewer.OtherOccurrencesFilesTableModel.createNodeKey(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCorrelatedInstances(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.openCase(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.populateTable(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.propertyChange(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.saveCaseInfo(), and org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.updateOnCaseSelection().
|
staticprivate |
Definition at line 994 of file Case.java.
References org.sleuthkit.autopsy.core.UserPreferences.getAppName(), org.sleuthkit.autopsy.coreutils.Version.getName(), and org.sleuthkit.autopsy.coreutils.Version.getVersion().
Referenced by org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseClosed(), and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().
String org.sleuthkit.autopsy.casemodule.Case.getNumber | ( | ) |
Gets the case number.
Definition at line 1209 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseNumber().
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
|
private |
Gets the path to the specified subdirectory of the case directory, creating it if it does not already exist.
Definition at line 2548 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOutputDirectory().
Referenced by org.sleuthkit.autopsy.casemodule.Case.getCacheDirectory(), org.sleuthkit.autopsy.casemodule.Case.getConfigDirectory(), org.sleuthkit.autopsy.casemodule.Case.getExportDirectory(), org.sleuthkit.autopsy.casemodule.Case.getLogDirectoryPath(), org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory(), org.sleuthkit.autopsy.casemodule.Case.getReportDirectory(), and org.sleuthkit.autopsy.casemodule.Case.getTempDirectory().
String org.sleuthkit.autopsy.casemodule.Case.getOutputDirectory | ( | ) |
Gets the root case output directory for this case, creating it if it does not exist. If the case is a single-user case, this is the case directory. If the case is a multi-user case, this is a subdirectory of the case directory specific to the host machine.
Definition at line 1266 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.coreutils.NetworkUtils.getLocalHostName(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE.
Referenced by org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory(), and org.sleuthkit.autopsy.actions.OpenOutputFolderAction.performAction().
|
static |
Gets a PropertyChangeSupport object. The PropertyChangeSupport object returned is not used by instances of this class and does not have any PropertyChangeListeners.
String org.sleuthkit.autopsy.casemodule.Case.getReportDirectory | ( | ) |
Gets the full path to the reports directory for this case, creating it if it does not exist.
Definition at line 1326 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.communications.VisualizationPanel.createReport(), org.sleuthkit.autopsy.communications.VisualizationPanel.handleSnapshotEvent(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run(), and org.sleuthkit.autopsy.timeline.actions.SaveSnapshotAsReport.SaveSnapshotAsReport().
Services org.sleuthkit.autopsy.casemodule.Case.getServices | ( | ) |
Gets the case services manager.
Definition at line 1164 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseServices.
Referenced by org.sleuthkit.autopsy.actions.AddBookmarkTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteContentTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.DeleteBlackboardArtifactTagAction.actionPerformed(), org.sleuthkit.autopsy.actions.AddBlackboardArtifactTagAction.addTag(), org.sleuthkit.autopsy.actions.AddContentTagAction.addTag(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addTagProperty(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagNodeFactory.createKeys(), org.sleuthkit.autopsy.actions.DeleteFileContentTagAction.deleteTag(), org.sleuthkit.autopsy.actions.DeleteFileBlackboardArtifactTagAction.deleteTag(), org.sleuthkit.autopsy.actions.GetTagNameDialog.display(), org.sleuthkit.autopsy.actions.GetTagNameAndCommentDialog.display(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.export(), org.sleuthkit.autopsy.report.taggedhashes.AddTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAllTagsFromDatabase(), org.sleuthkit.autopsy.actions.AddTagAction.TagMenu.getAndAddTag(), org.sleuthkit.autopsy.report.TableReportGenerator.ArtifactData.getOrderedRowDataAsStrings(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getTagDisplayNames(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.handleArtifactTagDeleted(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.handleContentTagDeleted(), org.sleuthkit.autopsy.actions.GetTagNameDialog.okButtonActionPerformed(), org.sleuthkit.autopsy.modules.dataSourceIntegrity.DataSourceIntegrityIngestModule.process(), org.sleuthkit.autopsy.modules.plaso.PlasoIngestModule.process(), org.sleuthkit.autopsy.actions.ReplaceContentTagAction.replaceTag(), org.sleuthkit.autopsy.actions.ReplaceBlackboardArtifactTagAction.replaceTag(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.TagDefinitionChangeTask.run(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.startUp(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagTypeNode.updateDisplayName(), and org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagTypeNode.updateDisplayName().
SleuthkitCase org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase | ( | ) |
Gets the case database.
Definition at line 1155 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseDb.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addCalllog(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addContact(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addEmailArtifact(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addGPSLocation(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addInstalledProgram(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addMessage(), org.sleuthkit.autopsy.communications.VisualizationPanel.addNotify(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addRelationship(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebBookmark(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebCookie(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebDownload(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebFormAddress(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebFormAutofill(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.addWebHistory(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.AppDBParserHelper(), org.sleuthkit.autopsy.keywordsearch.SolrSearchService.closeCaseResources(), org.sleuthkit.autopsy.timeline.TimeLineTopComponent.componentOpened(), org.sleuthkit.autopsy.datamodel.AbstractContentNode< Image >.contentHasVisibleContentChildren(), org.sleuthkit.autopsy.coreutils.AppDBParserHelper.createAccountInstance(), org.sleuthkit.autopsy.ingest.DataSourceIngestJob.createIngestPipelines(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.createInterestingFileHit(), org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.createKeys(), org.sleuthkit.autopsy.modules.plaso.PlasoIngestModule.createPlasoArtifacts(), org.sleuthkit.autopsy.datamodel.VirtualDirectoryNode.createSheet(), org.sleuthkit.autopsy.datamodel.ImageNode.createSheet(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.deleteTag(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.export(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.FilteredEventsModel(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteDB(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.coreutils.SQLiteTableReader.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.fromTSKDataSource(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.generateReport(), org.sleuthkit.autopsy.casemodule.services.Services.getArtifactsBlackboard(), org.sleuthkit.autopsy.ingest.IngestServices.getCaseDatabase(), org.sleuthkit.autopsy.ingest.IngestServices.getCurrentSleuthkitCaseDb(), org.sleuthkit.autopsy.casemodule.events.DataSourceNameChangedEvent.getDataSource(), org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getDataSource(), org.sleuthkit.autopsy.filesearch.DataSourcePanel.getDataSourceArray(), org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader.getDataSourceMap(), org.sleuthkit.autopsy.timeline.events.TimelineEventAddedEvent.getNewValue(), org.sleuthkit.autopsy.casemodule.events.ReportAddedEvent.getNewValue(), org.sleuthkit.autopsy.ingest.events.FileAnalyzedEvent.getNewValue(), org.sleuthkit.autopsy.casemodule.events.DataSourceAddedEvent.getNewValue(), org.sleuthkit.autopsy.ingest.events.ContentChangedEvent.getOldValue(), org.sleuthkit.autopsy.ingest.events.BlackboardPostEvent.getOldValue(), org.sleuthkit.autopsy.casemodule.services.Blackboard.getOrAddArtifactType(), org.sleuthkit.autopsy.casemodule.services.Blackboard.getOrAddAttributeType(), org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.getRawArtifactText(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.getSleuthkitCase(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.getTag(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.handleArtifactTagDeleted(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.handleContentTagDeleted(), org.sleuthkit.autopsy.casemodule.services.Blackboard.indexArtifact(), org.sleuthkit.autopsy.ingest.IngestJobSettingsPanel.IngestJobSettingsPanel(), org.sleuthkit.autopsy.timeline.actions.AddManualEvent.JEventCreationDialog.EventCreationDialogPane.initialize(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeCorrelationAttributeInstanceUsingTypeValue(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeInstancesFromBlackboardArtifact(), org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.makeKeys(), org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources(), org.sleuthkit.autopsy.healthmonitor.HealthMonitor.performDatabaseQuery(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.populateFilterData(), org.sleuthkit.autopsy.report.ArtifactSelectionDialog.populateList(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.populateTable(), org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.populateTagData(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.process(), org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process(), org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.process(), org.sleuthkit.autopsy.modules.dataSourceIntegrity.DataSourceIntegrityIngestModule.process(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.process(), org.sleuthkit.autopsy.casemodule.IngestJobInfoPanel.refresh(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.ContentTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.run(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.TagDefinitionChangeTask.run(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.saveTag(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.tooManyFiles(), org.sleuthkit.autopsy.communications.FiltersPanel.updateAccountTypeFilter(), org.sleuthkit.autopsy.communications.FiltersPanel.updateDeviceFilter(), org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.updateTag(), and org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile().
String org.sleuthkit.autopsy.casemodule.Case.getTempDirectory | ( | ) |
Gets the full path to the temp directory for this case, creating it if it does not exist.
Definition at line 1286 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getOrCreateSubdirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed(), org.sleuthkit.autopsy.coreutils.SQLiteTableReader.copyFileToTempDirectory(), org.sleuthkit.autopsy.casemodule.Case.deleteTempfilesFromCaseDirectory(), org.sleuthkit.autopsy.corecomponents.DataContentViewerHex.BackgroundFileCopyTask.doInBackground(), org.sleuthkit.autopsy.report.caseuco.CaseUcoFormatExporter.export(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteDB(), org.sleuthkit.autopsy.coreutils.AppSQLiteDB.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.recentactivity.RAImageIngestModule.getRATempPath(), and org.sleuthkit.autopsy.coreutils.VideoUtils.getVideoFileInTempDir().
String org.sleuthkit.autopsy.casemodule.Case.getTextIndexName | ( | ) |
Gets the name of the legacy keyword search index for the case. Not for general use.
Definition at line 1408 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getTextIndexName().
Set<TimeZone> org.sleuthkit.autopsy.casemodule.Case.getTimeZone | ( | ) |
Gets the time zone(s) of the image data source(s) in this case.
Definition at line 3269 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getTimeZones().
Set<TimeZone> org.sleuthkit.autopsy.casemodule.Case.getTimeZones | ( | ) |
Gets the time zone(s) of the image data source(s) in this case.
Definition at line 1386 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getDataSources().
Referenced by org.sleuthkit.autopsy.casemodule.Case.getTimeZone().
boolean org.sleuthkit.autopsy.casemodule.Case.hasData | ( | ) |
Queries whether or not the case has data, i.e., whether or not at least one data source has been added to the case.
Definition at line 1418 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getDataSources(), and org.sleuthkit.autopsy.casemodule.Case.hasDataSources.
Referenced by org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.canClose(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.canClose(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.canClose(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.canClose(), org.sleuthkit.autopsy.ingest.RunIngestAction.isEnabled(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.rebuildTree(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline(), and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().
|
static |
Invokes the startup dialog window.
Definition at line 3132 of file Case.java.
References org.sleuthkit.autopsy.casemodule.StartupWindowProvider.getInstance(), and org.sleuthkit.autopsy.casemodule.StartupWindowProvider.open().
|
static |
Checks if a case, the current case, is open at the time it is called.
Definition at line 639 of file Case.java.
Referenced by org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.addIngestJobEventsListener(), org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.cbUseCentralRepoActionPerformed(), org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeSearchAction.createAndShowPanel(), org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.customizeComponents(), org.sleuthkit.autopsy.casemodule.Case.existsCurrentCase(), org.sleuthkit.autopsy.allcasessearch.AllCasesSearchAction.isEnabled(), org.sleuthkit.autopsy.diagnostics.PerformancePanelAction.isEnabled(), org.sleuthkit.autopsy.actions.ShowIngestProgressSnapshotAction.isEnabled(), org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributeSearchAction.isEnabled(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.isEnabled(), org.sleuthkit.autopsy.actions.OpenOutputFolderAction.isEnabled(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load(), org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.IngestJobEventPropertyChangeListener.propertyChange(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.storeGroupItemsInTreeByDataSource().
|
staticprivate |
Examines a coordination service exception to try to determine if it is a "no node" exception, i.e., an operation was attempted on a node that does not exist.
ex | A coordination service exception. |
Definition at line 2884 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().
|
static |
void org.sleuthkit.autopsy.casemodule.Case.notifyAddingDataSource | ( | UUID | eventId | ) |
Notifies case event subscribers that a data source is being added to the case.
This should not be called from the event dispatch thread (EDT)
eventId | A unique identifier for the event. This UUID must be used to call notifyFailedAddingDataSource or notifyNewDataSource after the data source is added. |
Definition at line 1439 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
void org.sleuthkit.autopsy.casemodule.Case.notifyBlackBoardArtifactTagAdded | ( | BlackboardArtifactTag | newTag | ) |
Notifies case event subscribers that an artifact tag has been added.
This should not be called from the event dispatch thread (EDT)
newTag | new BlackboardArtifactTag added |
Definition at line 1544 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.casemodule.services.TagsManager.addBlackboardArtifactTag().
void org.sleuthkit.autopsy.casemodule.Case.notifyBlackBoardArtifactTagDeleted | ( | BlackboardArtifactTag | deletedTag | ) |
Notifies case event subscribers that an artifact tag has been deleted.
This should not be called from the event dispatch thread (EDT)
deletedTag | BlackboardArtifactTag deleted |
Definition at line 1555 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.casemodule.services.TagsManager.deleteBlackboardArtifactTag().
void org.sleuthkit.autopsy.casemodule.Case.notifyCentralRepoCommentChanged | ( | long | contentId, |
String | newComment | ||
) |
Notifies case event subscribers that a central repository comment has been changed.
This should not be called from the event dispatch thread (EDT)
contentId | the objectId for the Content which has had its central repo comment changed |
newComment | the new value of the comment |
Definition at line 1529 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.centralrepository.AddEditCentralRepoCommentAction.actionPerformed().
void org.sleuthkit.autopsy.casemodule.Case.notifyContentTagAdded | ( | ContentTag | newTag | ) |
Notifies case event subscribers that a content tag has been added.
This should not be called from the event dispatch thread (EDT)
newTag | new ContentTag added |
Definition at line 1492 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.casemodule.services.TagsManager.addContentTag().
void org.sleuthkit.autopsy.casemodule.Case.notifyContentTagDeleted | ( | ContentTag | deletedTag | ) |
Notifies case event subscribers that a content tag has been deleted.
This should not be called from the event dispatch thread (EDT)
deletedTag | ContentTag deleted |
Definition at line 1503 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.casemodule.services.TagsManager.deleteContentTag().
void org.sleuthkit.autopsy.casemodule.Case.notifyDataSourceAdded | ( | Content | dataSource, |
UUID | addingDataSourceEventId | ||
) |
Notifies case event subscribers that a data source has been added to the case database.
This should not be called from the event dispatch thread (EDT)
dataSource | The data source. |
addingDataSourceEventId | The unique identifier for the corresponding adding data source event (see notifyAddingDataSource). |
Definition at line 1468 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.casemodule.Case.addImage(), and org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done().
void org.sleuthkit.autopsy.casemodule.Case.notifyDataSourceNameChanged | ( | Content | dataSource, |
String | newName | ||
) |
Notifies case event subscribers that a data source has been added to the case database.
This should not be called from the event dispatch thread (EDT)
dataSource | The data source. |
newName | The new name for the data source |
Definition at line 1481 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
void org.sleuthkit.autopsy.casemodule.Case.notifyFailedAddingDataSource | ( | UUID | addingDataSourceEventId | ) |
Notifies case event subscribers that a data source failed to be added to the case.
This should not be called from the event dispatch thread (EDT)
addingDataSourceEventId | The unique identifier for the corresponding adding data source event (see notifyAddingDataSource). |
Definition at line 1453 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish().
Referenced by org.sleuthkit.autopsy.datasourceprocessors.AddDataSourceCallback.done().
void org.sleuthkit.autopsy.casemodule.Case.notifyTagDefinitionChanged | ( | String | changedTagName | ) |
Notifies case event subscribers that a tag definition has changed.
This should not be called from the event dispatch thread (EDT)
changedTagName | the name of the tag definition which was changed |
Definition at line 1514 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.publish(), and org.sleuthkit.autopsy.casemodule.Case.Events.TAG_DEFINITION_CHANGED.
|
private |
Opens this case by creating a task running in the same non-UI thread that will be used to close the case. If the case is a single-user case, this supports cancelling creation of the case by cancelling the task. If the case is a multi-user case, this ensures ensures that case directory lock held as long as the case is open is released in the same thread in which it was acquired, as is required by the coordination service.
isNewCase | True for a new case, false otherwise. |
CaseActionException | If there is a problem creating the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 1739 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.acquireExclusiveCaseResourcesLock(), org.sleuthkit.autopsy.casemodule.Case.acquireSharedCaseDirLock(), org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.actionPerformed(), org.sleuthkit.autopsy.progress.ProgressIndicator.finish(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.casemodule.Case.releaseSharedCaseDirLock(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.setCaseActionFuture(), org.sleuthkit.autopsy.coreutils.ThreadUtils.shutDownTaskExecutor(), org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE, and org.sleuthkit.autopsy.progress.ProgressIndicator.start().
Referenced by org.sleuthkit.autopsy.actions.OpenLogFolderAction.actionPerformed(), org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(), and org.sleuthkit.autopsy.actions.OpenOutputFolderAction.performAction().
|
private |
Opens the case database and services for this case.
isNewCase | True for a new case, false otherwise. |
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem creating the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 1862 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.checkForUserCancellation(), org.sleuthkit.autopsy.casemodule.Case.close(), org.sleuthkit.autopsy.casemodule.Case.createCaseDatabase(), org.sleuthkit.autopsy.casemodule.Case.createCaseDirectoryIfDoesNotExist(), org.sleuthkit.autopsy.casemodule.Case.createCaseNodeData(), org.sleuthkit.autopsy.casemodule.Case.deleteTempfilesFromCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openCaseDataBase(), org.sleuthkit.autopsy.casemodule.Case.openCaseLevelServices(), org.sleuthkit.autopsy.casemodule.Case.openCommunicationChannels(), org.sleuthkit.autopsy.casemodule.Case.saveCaseMetadataToFile(), org.sleuthkit.autopsy.casemodule.Case.switchLoggingToCaseLogsDirectory(), and org.sleuthkit.autopsy.casemodule.Case.updateCaseNodeData().
|
static |
Opens an existing Autopsy case and makes it the current case.
caseMetadataFilePath | The path of the case metadata (.aut) file. |
CaseActionException | if there is a problem opening the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 3108 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
private |
Allows any registered application-level services to open resources specific to this case.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2210 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.checkForUserCancellation(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.progress.ProgressIndicator.finish(), org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getDisplayName(), org.sleuthkit.autopsy.casemodule.Case.getName(), org.sleuthkit.autopsy.casemodule.Case.logger, org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.setCaseActionFuture(), org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.setCaseContext(), org.sleuthkit.autopsy.coreutils.ThreadUtils.shutDownTaskExecutor(), and org.sleuthkit.autopsy.progress.ProgressIndicator.start().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
static |
Opens an existing case and makes it the current case.
IMPORTANT: This method should not be called in the event dispatch thread (EDT).
caseMetadataFilePath | The path of the case metadata (.aut) file. |
CaseActionException | If there is a problem opening the case. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 621 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.Case(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.core.UserPreferences.getIsMultiUserModeEnabled(), org.sleuthkit.autopsy.casemodule.Case.metadata, and org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE.
Referenced by org.sleuthkit.autopsy.casemodule.Case.createAsCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.open().
|
staticprivate |
Opens a new or existing case as the current case.
newCurrentCase | The case. |
isNewCase | True for a new case, false otherwise. |
CaseActionException | If there is a problem creating the case. |
CaseActionCancelledException | If creating the case is cancelled. |
Definition at line 804 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseActionSerializationLock, org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.Events.CURRENT_CASE, org.sleuthkit.autopsy.casemodule.Case.currentCase, org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getDisplayName(), org.sleuthkit.autopsy.casemodule.Case.getName(), org.sleuthkit.autopsy.casemodule.Case.open(), org.sleuthkit.autopsy.events.AutopsyEventPublisher.publishLocally(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().
|
private |
Updates the node data for an existing case directory lock coordination service node and opens an existing case database.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2158 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDatabaseName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.core.UserPreferences.getDatabaseConnectionInfo(), org.sleuthkit.autopsy.core.UserPreferences.getIsMultiUserModeEnabled(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE.
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
Opens the case-level services: the files manager, tags manager and blackboard.
progressIndicator | A progress indicator. |
Definition at line 2186 of file Case.java.
References org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
If this case is a multi-user case, sets up for communication with other application nodes.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2318 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.checkForUserCancellation(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseName(), org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE, org.sleuthkit.autopsy.events.AutopsyEventPublisher.openRemoteEventChannel(), and org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
static |
Check if file exists and is a normal file.
filePath | The file path. |
|
private |
Releases a shared case directory lock for the current case.
caseDir | The full path of the case directory. |
Definition at line 2531 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.caseDirLock.
Referenced by org.sleuthkit.autopsy.casemodule.Case.close(), and org.sleuthkit.autopsy.casemodule.Case.open().
|
static |
Removes a subscriber to specific case events.
eventName | The event the subscriber is no longer interested in. |
subscriber | The subscriber (PropertyChangeListener) to remove. |
Definition at line 502 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.removeSubscriber().
Referenced by org.sleuthkit.autopsy.casemodule.Case.removePropertyChangeListener().
|
static |
Removes a subscriber to specific case events.
eventNames | The event the subscriber is no longer interested in. |
subscriber | The subscriber (PropertyChangeListener) to remove. |
Definition at line 512 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.removeSubscriber().
|
static |
Removes a subscriber to specific case events.
eventTypes | The events the subscriber is no longer interested in. |
subscriber | The subscriber (PropertyChangeListener) to remove. |
Definition at line 522 of file Case.java.
References org.sleuthkit.autopsy.events.AutopsyEventPublisher.removeSubscriber().
Referenced by org.sleuthkit.autopsy.datamodel.DataSourcesNode.DataSourcesNodeChildren.onRemove(), org.sleuthkit.autopsy.datamodel.VolumeNode.removeListeners(), org.sleuthkit.autopsy.datamodel.ImageNode.removeListeners(), org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.removeListeners(), org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.removeListeners(), org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.removeListeners(), org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeRootChildrenObservable.removeListeners(), org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentsChildrenObservable.removeListeners(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.removeListeners(), org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.InterestingHits.SetNameFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.HashsetHits.HashsetNameFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.EmailExtracted.AccountFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountTypeFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.DefaultAccountFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.KeywordHits.ListFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.ViewModeFactory.removeNotify(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.FileWithCCNFactory.removeNotify(), and org.sleuthkit.autopsy.datamodel.accounts.Accounts.BINFactory.removeNotify().
|
static |
Removes a subscriber to all case events. To remove a subscription to only specific events, use one of the overloads of removeEventSubscriber.
listener | The subscriber (PropertyChangeListener) to remove. |
Definition at line 452 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.removeEventSubscriber().
Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.uninstalled().
|
private |
Saves teh case metadata to a file.SHould not be called until the case directory has been created.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2016 of file Case.java.
References org.sleuthkit.autopsy.progress.ProgressIndicator.progress().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
staticprivate |
Sets a deleted item flag in the coordination service node data for a multi-user case.
caseNodeData | The coordination service node data for the case. |
flag | The flag to set. |
InterruptedException | If interrupted while blocked waiting for coordination service data to be written to the coordination service node database. |
Definition at line 2905 of file Case.java.
References org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDirectory(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getDisplayName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.getName(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.setDeletedFlag(), and org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.writeCaseNodeData().
Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseDatabase(), org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseDirectory(), and org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCaseTextIndex().
|
private |
Switches from writing log messages to the application logs to the logs subdirectory of the case directory.
progressIndicator | A progress indicator. |
Definition at line 1996 of file Case.java.
References org.sleuthkit.autopsy.casemodule.Case.getLogDirectoryPath(), org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), and org.sleuthkit.autopsy.coreutils.Logger.setLogDirectory().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
private |
Updates the node data for the case directory lock coordination service node.
progressIndicator | A progress indicator. |
CaseActionException | If there is a problem completing the operation. The exception will have a user-friendly message and may be a wrapper for a lower-level exception. |
Definition at line 2066 of file Case.java.
References org.sleuthkit.autopsy.casemodule.CaseMetadata.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE, org.sleuthkit.autopsy.progress.ProgressIndicator.progress(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.readCaseNodeData(), org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.setLastAccessDate(), and org.sleuthkit.autopsy.casemodule.multiusercases.CaseNodeData.writeCaseNodeData().
Referenced by org.sleuthkit.autopsy.casemodule.Case.open().
|
staticprivate |
Definition at line 1094 of file Case.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.clear(), org.sleuthkit.autopsy.corecomponentinterfaces.CoreComponentControl.closeCoreWindows(), org.sleuthkit.autopsy.casemodule.Case.getNameForTitle(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase().
|
staticprivate |
Update the GUI to to reflect the current case.
Definition at line 1007 of file Case.java.
References org.sleuthkit.autopsy.coreutils.DriveUtils.driveExists(), org.sleuthkit.autopsy.casemodule.Case.getDisplayName(), org.sleuthkit.autopsy.casemodule.Case.getNameForTitle(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.casemodule.Case.hasData(), org.sleuthkit.autopsy.corecomponentinterfaces.CoreComponentControl.openCoreWindows(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
Referenced by org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 158 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
private |
Definition at line 157 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.acquireSharedCaseDirLock(), and org.sleuthkit.autopsy.casemodule.Case.releaseSharedCaseDirLock().
|
private |
|
private |
Definition at line 160 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.getServices().
|
private |
|
staticprivate |
|
staticprivate |
Definition at line 154 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 161 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.hasData().
|
staticprivate |
|
staticprivate |
Definition at line 150 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(), and org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources().
|
staticprivate |
|
private |
Definition at line 155 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.createPortableCase(), and org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 138 of file Case.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.createCaseDatabase(), and org.sleuthkit.autopsy.casemodule.Case.createPortableCase().
|
staticprivate |
|
private |
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.