FDO API Reference Feature Data Objects

FdoIRollbackLongTransaction Class Reference

#include <IRollbackLongTransaction.h>

Inherits FdoIFeatureCommand.

Inheritance diagram for FdoIRollbackLongTransaction:

Inheritance graph
[legend]
List of all members.

Detailed Description

The FdoIRollbackLongTransaction interface defines the RollbackLongTransaction command, which allows a user to execute rollback operations on a long transaction. Two different rollback operations are distinguished: full and partial.

  1. A full rollback operation is executed on all data within a long transaction and all its descendents. The data is removed from the database and all versions involved in the process deleted.
  2. A partial rollback operation is executed on a subset of the data within a long transaction (which could be all data). The specified data in this long transaction and all its descendents are removed from the database. The versions involved in the process are not removed. The subset of the data to be rolled back is defined by a class name and a set of filter criteria.
To perform a rollback operation, the user requires the access and rollback privileges for the long transaction to be rolled back (in the case of a full rollback, the user also requires the remove privilege for the long transaction) and the access privilege for all the descendent versions.

Definition at line 45 of file IRollbackLongTransaction.h.


Public Member Functions

virtual FDO_API void Execute ()=0
 Executes the RollbackLongTransaction command.
virtual FDO_API FdoILockConflictReaderGetLockConflictReader ()=0
 Gets a reference to the lock conflict reader.
virtual FDO_API FdoStringGetName ()=0
 Gets the name of the long transaction to roll back as a string.
virtual FDO_API void SetName (FdoString *value)=0
 Sets the name of the long transaction to roll back as a string.

Friends

class FdoIConnection

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.