Sleuth Kit Java Bindings (JNI)  4.3
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction Class Reference

Public Member Functions

void commit () throws TskCoreException
void rollback () throws TskCoreException

Private Member Functions

 CaseDbTransaction (CaseDbConnection connection) throws TskCoreException
CaseDbConnection getConnection ()

Private Attributes

final CaseDbConnection connection

Detailed Description

Wraps the transactional capabilities of a CaseDbConnection object to support use cases where control of a transaction is given to a SleuthkitCase client. Note that this class does not implement the Transaction interface because that sort of flexibility and its associated complexity is not needed. Also, TskCoreExceptions are thrown to be consistent with the outer SleuthkitCase class.

Definition at line 7999 of file

Constructor & Destructor Documentation

org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.CaseDbTransaction ( CaseDbConnection  connection) throws TskCoreException

Member Function Documentation

void org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.commit ( ) throws TskCoreException
CaseDbConnection org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.getConnection ( )

The implementations of the public APIs that take a CaseDbTransaction object need access to the underlying CaseDbConnection.

The CaseDbConnection instance for this instance of CaseDbTransaction.

Definition at line 8019 of file

References org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.connection.

Referenced by org.sleuthkit.datamodel.SleuthkitCase.addCarvedFiles(), and org.sleuthkit.datamodel.SleuthkitCase.addLayoutFiles().

void org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.rollback ( ) throws TskCoreException

Member Data Documentation

final CaseDbConnection org.sleuthkit.datamodel.SleuthkitCase.CaseDbTransaction.connection

The documentation for this class was generated from the following file:

Copyright © 2011-2015 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.