com.esri.arcgis.datasourcesGDB
Interface IDatabaseLockInfo

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IDatabaseLockInfoProxy

public interface IDatabaseLockInfo
extends java.io.Serializable

COM Interface 'IDatabaseLockInfo'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'

Description: 'Infomation about database locks.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID58f47253_0f9d_4e59_a573_6a3267d0810c
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getDatasetType()
          The type of the locked dataset, if it is a dataset.
 int getLockMode()
          The mode of the lock.
 java.lang.String getLockOwner()
          The user that owns the lock.
 java.lang.Object getLockTime()
          The time when the lock was acquired.
 int getLockType()
          The type of lock.
 long getObjectID()
          The ID of the locked object.
 java.lang.String getObjectName()
          The name of the locked object.
 int getSessionID()
          The session that owns the lock.
 boolean isOwnLock()
          Is the lock from the current connection.
 

Field Detail

IID58f47253_0f9d_4e59_a573_6a3267d0810c

static final int IID58f47253_0f9d_4e59_a573_6a3267d0810c
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSessionID

int getSessionID()
                 throws java.io.IOException,
                        AutomationException
The session that owns the lock.

Returns:
The sessionID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLockOwner

java.lang.String getLockOwner()
                              throws java.io.IOException,
                                     AutomationException
The user that owns the lock.

Returns:
The owner
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLockMode

int getLockMode()
                throws java.io.IOException,
                       AutomationException
The mode of the lock.

Returns:
A com.esri.arcgis.datasourcesGDB.esriSdeLockMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLockTime

java.lang.Object getLockTime()
                             throws java.io.IOException,
                                    AutomationException
The time when the lock was acquired.

Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLockType

int getLockType()
                throws java.io.IOException,
                       AutomationException
The type of lock.

Returns:
A com.esri.arcgis.datasourcesGDB.esriSdeLockType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectID

long getObjectID()
                 throws java.io.IOException,
                        AutomationException
The ID of the locked object.

Returns:
Signed 64-bit int
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectName

java.lang.String getObjectName()
                               throws java.io.IOException,
                                      AutomationException
The name of the locked object.

Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetType

int getDatasetType()
                   throws java.io.IOException,
                          AutomationException
The type of the locked dataset, if it is a dataset.

Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOwnLock

boolean isOwnLock()
                  throws java.io.IOException,
                         AutomationException
Is the lock from the current connection.

Returns:
The isOwnLock
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.