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::IReleaseLockImp Class Reference

Inherits OSGeo::FDO::Commands::IFeatureCommandImp, and OSGeo::FDO::Commands::Locking::OSGeo::FDO::Commands::Locking::IReleaseLock.

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

[legend]
List of all members.

Detailed Description

The IReleaseLockImp class is a concrete implementation of IReleaseLock. The IReleaseLock interface defines the ReleaseLock command, which releases locks from feature instances of a given class that match the specified criteria. Input to the release lock command includes the name of the class and filter criteria by which to identify the instances to be unlocked. The filter may be specified either as text or as an expression tree (most likely produced by a query builder). The ability to successfully execute the command might be restricted by the datastore security if the lock doesn’t belong to the user executing the command.


Public Member Functions

OSGeo::FDO::Commands::Locking::ILockConflictReaderExecute ()
 Executes the release lock command, returning an ILockConflictReader.
__property System::String * get_LockOwner ()
 Gets the name of the user who owns the lock to release.
__property System::Void set_LockOwner (System::String *value)
 Sets the name of the user who owns the lock to release.

Member Function Documentation

OSGeo ::FDO ::Commands ::Locking ::ILockConflictReader* OSGeo::FDO::Commands::Locking::IReleaseLockImp::Execute  ) 
 

Executes the release lock command, returning an ILockConflictReader.

Returns:
Returns a list of feature instances whose lock is owned by someone else.

__property System::String* OSGeo::FDO::Commands::Locking::IReleaseLockImp::get_LockOwner  ) 
 

Gets the name of the user who owns the lock to release.

Returns:
Returns name of the lock owner. If the name was not set, it returns the name of the caller.

__property System::Void OSGeo::FDO::Commands::Locking::IReleaseLockImp::set_LockOwner System::String *  value  ) 
 

Sets the name of the user who owns the lock to release.

Parameters:
value Input the name of the user.
Returns:
Returns nothing

Comments or suggestions? Send us feedback.