Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
class | ContentViewerTag |
class | ResultWrapper |
class | SerializationException |
Static Public Member Functions | |
static< T > void | deleteTag (ContentViewerTag< T > contentViewerTag) throws TskCoreException, NoCurrentCaseException |
static< T > ContentViewerTag< T > | getTag (ContentTag contentTag, Class< T > clazz) throws TskCoreException, NoCurrentCaseException |
static< T > ContentViewerTag< T > | saveTag (ContentTag contentTag, T tagDataBean) throws SerializationException, TskCoreException, NoCurrentCaseException |
static< T > ContentViewerTag< T > | updateTag (ContentViewerTag< T > oldTag, T tagDataBean) throws SerializationException, TskCoreException, NoCurrentCaseException |
Static Public Attributes | |
static final String | TABLE_NAME = "beta_tag_app_data" |
static final String | TABLE_SCHEMA_POSTGRESQL |
static final String | TABLE_SCHEMA_SQLITE |
Private Member Functions | |
ContentViewerTagManager () | |
Static Private Attributes | |
static final String | DELETE_TAG_DATA = "WHERE app_data_id = %d" |
static final String | INSERT_TAG_DATA = "(content_tag_id, app_data) VALUES (%d, '%s')" |
static final String | SELECT_TAG_DATA = "* FROM " + TABLE_NAME + " WHERE content_tag_id = %d" |
static final ObjectMapper | SERIALIZER = new ObjectMapper() |
static final String | UPDATE_TAG_DATA = "SET content_tag_id = %d, app_data = '%s' WHERE app_data_id = %d" |
A per case Autopsy service that manages the addition of content viewer tags to the case database. This manager is also responsible for serializing and deserializing instances of your tag data objects for persistence and retrieval.
Definition at line 37 of file ContentViewerTagManager.java.
|
private |
Definition at line 268 of file ContentViewerTagManager.java.
|
static |
Deletes the content viewer tag with the specified id.
contentViewerTag | ContentViewerTag to delete |
TskCoreException | Thrown if this operation did not successfully persist in the case database. |
NoCurrentCaseException | Thrown if invocation of this method occurs when no case is open. |
Definition at line 215 of file ContentViewerTagManager.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
static |
Retrieves a ContentViewerTag instance that is associated with the specified ContentTag. The Java class T that represents the technical details of the tag should be passed so that automatic binding can take place.
contentTag | ContentTag that this ContentViewerTag is associated with (1:1) |
clazz | Generic class that will be instantiated and filled in with data. |
TskCoreException | Thrown if this operation did not successfully persist in the case database. |
NoCurrentCaseException | Thrown if invocation of this method occurs when no case is open. |
Definition at line 142 of file ContentViewerTagManager.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.ResultWrapper< T >.getException(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.ResultWrapper< T >.getResult(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.ResultWrapper< T >.hasException(), org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.ResultWrapper< T >.setException(), and org.sleuthkit.autopsy.casemodule.services.contentviewertags.ContentViewerTagManager.ResultWrapper< T >.setResult().
|
static |
Creates and saves a new ContentViewerTag in the case database. The generic tag data instance T will be automatically serialized into a storable format.
contentTag | ContentTag that this ContentViewerTag is associated with (1:1). |
tagDataBean | Data instance that contains the tag information to be persisted. |
SerializationException | Thrown if the tag data instance T could not be serialized into a storable format. |
TskCoreException | Thrown if this operation did not successfully persist in the case database. |
NoCurrentCaseException | Thrown if invocation of this method occurs when no case is open. |
Definition at line 75 of file ContentViewerTagManager.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
static |
Updates the ContentViewerTag instance with the new tag data T and persists the changes to the case database.
oldTag | ContentViewerTag instance to be updated |
tagDataBean | Data instance that contains the updated information to be persisted. |
SerializationException | Thrown if the tag data instance T could not be serialized into a storable format. |
TskCoreException | Thrown if this operation did not successfully persist in the case database. |
NoCurrentCaseException | Thrown if invocation of this method occurs when no case is open. |
Definition at line 107 of file ContentViewerTagManager.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
staticprivate |
Definition at line 54 of file ContentViewerTagManager.java.
|
staticprivate |
Definition at line 51 of file ContentViewerTagManager.java.
|
staticprivate |
Definition at line 53 of file ContentViewerTagManager.java.
|
staticprivate |
Definition at line 41 of file ContentViewerTagManager.java.
|
static |
Definition at line 43 of file ContentViewerTagManager.java.
|
static |
Definition at line 47 of file ContentViewerTagManager.java.
|
static |
Definition at line 44 of file ContentViewerTagManager.java.
|
staticprivate |
Definition at line 52 of file ContentViewerTagManager.java.
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.