FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoIRollbackLongTransaction Class Reference

#include <IRollbackLongTransaction.h>

Inherits FdoIFeatureCommand.

Inheritance diagram for FdoIRollbackLongTransaction:

[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

Member Function Documentation

virtual FDO_API void FdoIRollbackLongTransaction::Execute  )  [pure virtual]
 

Executes the RollbackLongTransaction command.

Returns:
Returns nothing

virtual FDO_API FdoILockConflictReader* FdoIRollbackLongTransaction::GetLockConflictReader  )  [pure virtual]
 

Gets a reference to the lock conflict reader.

Returns:
Returns a reference to the lock conflict reader

virtual FDO_API FdoString* FdoIRollbackLongTransaction::GetName  )  [pure virtual]
 

Gets the name of the long transaction to roll back as a string.

Returns:
Returns the name of the long transaction.

virtual FDO_API void FdoIRollbackLongTransaction::SetName FdoString value  )  [pure virtual]
 

Sets the name of the long transaction to roll back as a string.

Parameters:
value Input the name of the long transaction.
Returns:
Returns nothing

Friends And Related Function Documentation

friend class FdoIConnection [friend]
 

Reimplemented from FdoIFeatureCommand.

Definition at line 47 of file IRollbackLongTransaction.h.


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