com.esri.arcgis.geodatabaseextensions
Class ICadastralFabricLocksProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabaseextensions.ICadastralFabricLocksProxy
All Implemented Interfaces:
ICadastralFabricLocks, java.io.Externalizable, java.io.Serializable

public class ICadastralFabricLocksProxy
extends com.esri.arcgis.interop.Dispatch
implements ICadastralFabricLocks, java.io.Serializable

Internal use class Proxy for 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ICadastralFabricLocks
IID, IIDc8be9a26_2fd5_4d41_a70b_7e000b644c41
 
Constructor Summary
  ICadastralFabricLocksProxy()
          For internal use only
  ICadastralFabricLocksProxy(java.lang.Object obj)
           
protected ICadastralFabricLocksProxy(java.lang.Object obj, java.lang.String iid)
           
  ICadastralFabricLocksProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ICadastralFabricLocksProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void acquireLocks(ILongArray pLocks, boolean takeSoftLocks, ILongArray[] ppLocksInConflict, ILongArray[] ppSoftLocksInConflict)
          Acquire locks on the LockingJob.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 boolean lockJob()
          Lock current job.
 void releaseJobLock(boolean forceRelease)
          Release current job's lock.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 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.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ICadastralFabricLocksProxy

public ICadastralFabricLocksProxy(java.lang.String CLSID,
                                  java.lang.String host,
                                  com.esri.arcgis.interop.AuthInfo authInfo)
                           throws java.net.UnknownHostException,
                                  java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ICadastralFabricLocksProxy

public ICadastralFabricLocksProxy()
For internal use only


ICadastralFabricLocksProxy

public ICadastralFabricLocksProxy(java.lang.Object obj)
                           throws java.io.IOException
Throws:
java.io.IOException

ICadastralFabricLocksProxy

protected ICadastralFabricLocksProxy(java.lang.Object obj,
                                     java.lang.String iid)
                              throws java.io.IOException
Throws:
java.io.IOException

ICadastralFabricLocksProxy

protected ICadastralFabricLocksProxy(java.lang.String CLSID,
                                     java.lang.String iid,
                                     java.lang.String host,
                                     com.esri.arcgis.interop.AuthInfo authInfo)
                              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setLockingJob

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

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

acquireLocks

public 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.

Specified by:
acquireLocks in interface ICadastralFabricLocks
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

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

Specified by:
undoLastAcquiredLocks in interface ICadastralFabricLocks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

lockJob

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

Specified by:
lockJob in interface ICadastralFabricLocks
Returns:
The succeed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseJobLock

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

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

validateJobLock

public 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.

Specified by:
validateJobLock in interface ICadastralFabricLocks
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.