Interface

eZ\Publish\SPI\Persistence\TransactionHandler

interface TransactionHandler

The Persistence Transaction handler for Storage Engine.

Methods

beginTransaction()

Begin transaction.

commit()

Commit transaction.

rollback()

Rollback transaction.

Details

at line 24
public beginTransaction()

Begin transaction.

Begins an transaction, make sure you'll call commit or rollback when done, otherwise work will be lost.

at line 33
public commit()

Commit transaction.

Commit transaction, or throw exceptions if no transactions has been started.

Exceptions

RuntimeException If no transaction has been started

at line 42
public rollback()

Rollback transaction.

Rollback transaction, or throw exceptions if no transactions has been started.

Exceptions

RuntimeException If no transaction has been started