TransactionBeginJob Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Job
Namespace: Akonadi
Detailed Description
Job that begins a session-global transaction.
Sometimes you want to execute a sequence of commands in an atomic way, so that either all commands or none shall be executed. The TransactionBeginJob, TransactionCommitJob and TransactionRollbackJob provide these functionality for the Akonadi Job classes.
- Note:
- This will only have an effect when used as a subjob or with a Session.
Methods | |
__init__ (self, QObject parent) | |
doStart (self) |
Method Documentation
__init__ | ( | self, | ||
QObject | parent | |||
) |
Creates a new transaction begin job.
- Parameters:
-
parent The parent job or Session, must not be 0.
doStart | ( | self ) |