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::Locking::ILockConflictReaderImp Class Reference

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::Commands::Locking::OSGeo::FDO::Commands::Locking::ILockConflictReader.

Inheritance diagram for OSGeo::FDO::Commands::Locking::ILockConflictReaderImp:

[legend]
List of all members.

Detailed Description

The ILockConflictReaderImp class is a concrete implementation of ILockConflictReaderImp. The ILockConflictReader interface provides forward only, read-only functionality for identifying features that have a lock conflict. Features with a lock conflict are those that the caller is attempting to modify that are already locked by someone else.

Remarks:
A reference to an ILockConflictReader is returned from the IAcquireLock, ISelect, IReleaseLock, IUpdate, and IDelete commands. The initial position of the ILockConflictReader is prior to the first item, thus you must call ReadNext to begin accessing any data.


Public Member Functions

System::Void Close ()
 Closes the ILockConflictReader object, freeing any resources it may be holding.
OSGeo::FDO::Commands::Locking::ConflictType GetConflictType ()
 Gets the conflict type for the conflict currently being read.
System::String * GetFeatureClassName ()
 Gets the class name of the feature currently being read.
OSGeo::FDO::Commands::PropertyValueCollectionGetIdentity ()
 Returns an PropertyValueCollection containing the property values that uniquely identify the feature currently being read.
System::String * GetLockOwner ()
 Gets the name of the owner who holds a lock on the feature currently being read.
System::String * GetLongTransaction ()
 Gets the name of the long transaction in which the feature currently being read is locked.
System::Boolean ReadNext ()
 Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

System::Void OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::Close  ) 
 

Closes the ILockConflictReader object, freeing any resources it may be holding.

Returns:
Returns nothing

OSGeo ::FDO ::Commands ::Locking ::ConflictType OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::GetConflictType  ) 
 

Gets the conflict type for the conflict currently being read.

Returns:
Returns the conflict type for the conflict currently being read.

System::String* OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::GetFeatureClassName  ) 
 

Gets the class name of the feature currently being read.

Remarks:
The value of the class name will be null in the event that the class name could not be resolved. This can happen if the table has no class id field and multiple classes have been written to the table.
Returns:
Returns the class name.

OSGeo ::FDO ::Commands ::PropertyValueCollection* OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::GetIdentity  ) 
 

Returns an PropertyValueCollection containing the property values that uniquely identify the feature currently being read.

Returns:
Returns the property collection identifying the feature.

System::String* OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::GetLockOwner  ) 
 

Gets the name of the owner who holds a lock on the feature currently being read.

Returns:
Returns the name of the owner

System::String* OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::GetLongTransaction  ) 
 

Gets the name of the long transaction in which the feature currently being read is locked.

Returns:
Returns the name of the long transaction in which the feature currently being read is locked.

System::Boolean OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::ReadNext  ) 
 

Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Returns:
Returns true if there is a next item.

System::Void OSGeo::FDO::Commands::Locking::ILockConflictReaderImp::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.