Sleuth Kit Java Bindings (JNI)  4.4.1
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 8484 of file SleuthkitCase.java.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Returns
The CaseDbConnection instance for this instance of CaseDbTransaction.

Definition at line 8504 of file SleuthkitCase.java.

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
private

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.