FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::LongTransaction::ICommitLongTransactionImp Class Reference

Inherits OSGeo::FDO::Commands::IFeatureCommandImp, and OSGeo::FDO::Commands::LongTransaction::OSGeo::FDO::Commands::LongTransaction::ICommitLongTransaction.

Inheritance diagram for OSGeo::FDO::Commands::LongTransaction::ICommitLongTransactionImp:

[legend]
List of all members.

Detailed Description

The ICommitLongTransactionImp class is a concrete implementation of ICommitLongTransaction. The ICommitLongTransaction 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.


Public Member Functions

ILongTransactionConflictDirectiveEnumeratorExecute ()
__property System::String * get_Name ()
 Gets the name of the long transaction to commit as a string.
__property System::Void set_Name (System::String *value)
 Sets the name of the long transaction to commit as a string.

Member Function Documentation

ILongTransactionConflictDirectiveEnumerator* OSGeo::FDO::Commands::LongTransaction::ICommitLongTransactionImp::Execute  ) 
 

Executes the commit long transaction command and returns an ILongTransactionConflictDirectiveEnumerator. If the returned enumerator's count is 0 then no conflicts were detected and the command was executed successfully. Otherwise conflicts were detected and the user must specify how to resolve them using the enumerator and call Execute again.

__property System::String* OSGeo::FDO::Commands::LongTransaction::ICommitLongTransactionImp::get_Name  ) 
 

Gets the name of the long transaction to commit as a string.

Returns:
Returns the name of the long transaction

__property System::Void OSGeo::FDO::Commands::LongTransaction::ICommitLongTransactionImp::set_Name System::String *  value  ) 
 

Sets the name of the long transaction to commit as a string.

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

Comments or suggestions? Send us feedback.