com.esri.arcgis.geodatabaseextensions
Interface ICadastralFabricLocks

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadastralFabric, ICadastralFabricLocksProxy

public interface ICadastralFabricLocks
extends java.io.Serializable

COM Interface 'ICadastralFabricLocks'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description: 'Provides access to members that assign object locks for a cadastral job.' 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 IIDc8be9a26_2fd5_4d41_a70b_7e000b644c41
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void acquireLocks(ILongArray pLocks, boolean takeSoftLocks, ILongArray[] ppLocksInConflict, ILongArray[] ppSoftLocksInConflict)
          Acquire locks on the LockingJob.
 boolean lockJob()
          Lock current job.
 void releaseJobLock(boolean forceRelease)
          Release current job's lock.
 void setLockingJob(java.lang.String rhs1)
          The name of the Job to apply locks on.
 void undoLastAcquiredLocks()
          Rolls back most recent set of acquired locks, until last edit operation.
 void validateJobLock(boolean[] locked, java.lang.String[] lockingMachine, int[] lockingPID)
          Correct orphan job locks for current machine, and return current lock information.
 

Field Detail

IIDc8be9a26_2fd5_4d41_a70b_7e000b644c41

static final int IIDc8be9a26_2fd5_4d41_a70b_7e000b644c41
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

setLockingJob

void setLockingJob(java.lang.String rhs1)
                   throws java.io.IOException,
                          AutomationException
The name of the Job to apply locks on.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

acquireLocks

void acquireLocks(ILongArray pLocks,
                  boolean takeSoftLocks,
                  ILongArray[] ppLocksInConflict,
                  ILongArray[] ppSoftLocksInConflict)
                  throws java.io.IOException,
                         AutomationException
Acquire locks on the LockingJob. TakeSoftLocks allows locks to be transferred from other jobs in the same version.

Parameters:
pLocks - A reference to a com.esri.arcgis.system.ILongArray (in)
takeSoftLocks - The takeSoftLocks (in)
ppLocksInConflict - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
ppSoftLocksInConflict - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

undoLastAcquiredLocks

void undoLastAcquiredLocks()
                           throws java.io.IOException,
                                  AutomationException
Rolls back most recent set of acquired locks, until last edit operation. Only effective once.

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

lockJob

boolean lockJob()
                throws java.io.IOException,
                       AutomationException
Lock current job. An existing lock will cause failure.

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

releaseJobLock

void releaseJobLock(boolean forceRelease)
                    throws java.io.IOException,
                           AutomationException
Release current job's lock.

Parameters:
forceRelease - The forceRelease (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateJobLock

void validateJobLock(boolean[] locked,
                     java.lang.String[] lockingMachine,
                     int[] lockingPID)
                     throws java.io.IOException,
                            AutomationException
Correct orphan job locks for current machine, and return current lock information.

Parameters:
locked - The locked (in/out: use single element array)
lockingMachine - The lockingMachine (in/out: use single element array)
lockingPID - The lockingPID (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.