FdoICommitLongTransaction Class Reference

The FdoICommitLongTransaction interface defines the CommitLongTransaction command, which allows a user to execute commit operations on a long transaction. Two different commit operations are distinguished: full and partial. More...

#include <ICommitLongTransaction.h>

Inherits FdoIFeatureCommand.

List of all members.


Public Member Functions

virtual FDO_API
FdoILongTransactionConflictDirectiveEnumerator
Execute ()=0
virtual FDO_API
FdoILockConflictReader
GetLockConflictReader ()=0
 Gets a reference to the lock conflict reader.
virtual FDO_API FdoStringGetName ()=0
 Gets the name of the long transaction to commit as a string.
virtual FDO_API void SetName (FdoString *value)=0
 Sets the name of the long transaction to commit as a string.

Friends

class FdoIConnection

Detailed Description

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

Full. A full commit operation is executed on all data within a long transaction. The data is committed to the parent long transaction and the long transaction itself is removed.

Partial. A partial commit operation is executed on a subset of the data within a long transaction (this could be all data). The data is committed to the parent long transaction. However, the long transaction, itself, is not removed. The subset of the data to be committed is defined by a class name and a set of filter criteria.

To perform a commit operation the user requires the access and commit privileges for the long transaction to be committed (in case of a full commit the user also requires the remove privilege for the long transaction) and the access privilege for the parent long transaction. In addition, a full commit can be performed on a leaf long transaction only. A long transaction is a leaf long transaction if it does not have descendent versions.

Definition at line 48 of file ICommitLongTransaction.h.


The documentation for this class was generated from the following file: