com.esri.arcgis.geodatabase
Class IVersion2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IVersionProxy
          extended by com.esri.arcgis.geodatabase.IVersion2Proxy
All Implemented Interfaces:
IVersion, IVersion2, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IVersion3Proxy

public class IVersion2Proxy
extends IVersionProxy
implements IVersion2, java.io.Serializable

Internal use class Proxy for COM Interface 'IVersion2'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members for managing a version.' 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.geodatabase.IVersion2
IID, IIDe21436a7_87ca_4e97_9f47_d096c8871bae
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersion
IID1a945841_b381_11d1_9ce6_0000f8780619
 
Constructor Summary
  IVersion2Proxy()
          For internal use only
  IVersion2Proxy(java.lang.Object obj)
           
protected IVersion2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IVersion2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IVersion2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IVersion createChild(java.lang.String name, IVersion initialStateVersion)
          Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.
 IVersion getCommonAncestor(IVersion otherVersion)
          Finds common ancestor version.
 boolean isRedefined()
          Determines whether the state of the version corresponding to this version object has been redefined in the database.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IVersionProxy
createVersion, delete, getAccess, getDescription, getVersionInfo, getVersionLocks, getVersionName, hasParent, refreshVersion, setAccess, setDescription, setVersionName
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersion
createVersion, delete, getAccess, getDescription, getVersionInfo, getVersionLocks, getVersionName, hasParent, refreshVersion, setAccess, setDescription, setVersionName
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IVersion2Proxy

public IVersion2Proxy(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

IVersion2Proxy

public IVersion2Proxy()
For internal use only


IVersion2Proxy

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

IVersion2Proxy

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

IVersion2Proxy

protected IVersion2Proxy(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 IVersionProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class IVersionProxy
Throws:
java.io.IOException

getCommonAncestor

public IVersion getCommonAncestor(IVersion otherVersion)
                           throws java.io.IOException,
                                  AutomationException
Finds common ancestor version.

Specified by:
getCommonAncestor in interface IVersion2
Parameters:
otherVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createChild

public IVersion createChild(java.lang.String name,
                            IVersion initialStateVersion)
                     throws java.io.IOException,
                            AutomationException
Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.

Specified by:
createChild in interface IVersion2
Parameters:
name - The name (in)
initialStateVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRedefined

public boolean isRedefined()
                    throws java.io.IOException,
                           AutomationException
Determines whether the state of the version corresponding to this version object has been redefined in the database.

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