Wt: Wt::Auth::AbstractUserDatabase::Transaction Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Auth::AbstractUserDatabase::Transaction Class Reference

An abstract transaction. More...

Inherited by Wt::Auth::Dbo::UserDatabase< DboType >::TransactionImpl.

List of all members.

## Public Member Functions
virtual | ~Transaction ()
| Destructor.
virtual void | commit ()=0
| Commits the transaction.
virtual void | rollback ()=0
| Rolls back the transaction.

## Detailed Description

An abstract transaction.

An abstract transaction interface.

See also:
  startTransaction()

## Constructor & Destructor Documentation

Wt::Auth::AbstractUserDatabase::Transaction::~Transaction | ( |  | ) | `[virtual]`

Destructor.

If the transaction is not yet finished (committed or rolled back), it will be rolled back.

See also:
  rollback()

## Member Function Documentation

virtual void Wt::Auth::AbstractUserDatabase::Transaction::commit | ( |  | ) | `[pure virtual]`

Commits the transaction.

See also:
  rollback()

virtual void Wt::Auth::AbstractUserDatabase::Transaction::rollback | ( |  | ) | `[pure virtual]`

Rolls back the transaction.

See also:
  commit()

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator