Object representing a transaction of the storage.
More...
#include <bindingObjects.hpp>
Object representing a transaction of the storage.
strus::StorageTransaction::~StorageTransaction |
( |
| ) |
|
|
inline |
void strus::StorageTransaction::commit |
( |
| ) |
|
Commit all insert or delete or user access right change statements of this transaction.
void strus::StorageTransaction::deleteDocument |
( |
const String & |
docid | ) |
|
Prepare the deletion of a document from the storage.
- Parameters
-
[in] | docid | the identifier of the document to delete |
void strus::StorageTransaction::deleteUserAccessRights |
( |
const String & |
username | ) |
|
Prepare the deletion of all document access rights of a user.
- Parameters
-
[in] | username | the name of the user to delete all access rights (in the local collection) |
void strus::StorageTransaction::insertDocument |
( |
const String & |
docid, |
|
|
const Document & |
doc |
|
) |
| |
Prepare the inserting a document into the storage.
- Parameters
-
[in] | docid | the identifier of the document to insert |
[in] | doc | the structure of the document to insert |
void strus::StorageTransaction::rollback |
( |
| ) |
|
Rollback all insert or delete or user access right change statements of this transaction.
The documentation for this class was generated from the following file: