com.esri.arcgis.geodatabase
Class IVersionProxy

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

public class IVersionProxy
extends com.esri.arcgis.interop.Dispatch
implements IVersion, java.io.Serializable

Internal use class Proxy for COM Interface 'IVersion'. Generated 3/19/2015 1:20:52 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.IVersion
IID, IID1a945841_b381_11d1_9ce6_0000f8780619
 
Constructor Summary
  IVersionProxy()
          For internal use only
  IVersionProxy(java.lang.Object obj)
           
protected IVersionProxy(java.lang.Object obj, java.lang.String iid)
           
  IVersionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IVersionProxy(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 createVersion(java.lang.String newName)
          Creates a new version equivalent to this version.
 void delete()
          Permanently deletes the version from the database.
 int getAccess()
          The version's access permission.
 java.lang.String getDescription()
          The version's description.
 IVersionInfo getVersionInfo()
          This version's information.
 IEnumLockInfo getVersionLocks()
          This version's locks.
 java.lang.String getVersionName()
          The name of the version.
 boolean hasParent()
          True if this version have a parent version.
 void refreshVersion()
          Refreshes the version with the corresponding database state.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setAccess(int access)
          The version's access permission.
 void setDescription(java.lang.String description)
          The version's description.
 void setVersionName(java.lang.String name)
          The name of the version.
 
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

IVersionProxy

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

IVersionProxy

public IVersionProxy()
For internal use only


IVersionProxy

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

IVersionProxy

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

IVersionProxy

protected IVersionProxy(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

getVersionLocks

public IEnumLockInfo getVersionLocks()
                              throws java.io.IOException,
                                     AutomationException
This version's locks.

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

getVersionInfo

public IVersionInfo getVersionInfo()
                            throws java.io.IOException,
                                   AutomationException
This version's information.

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

getVersionName

public java.lang.String getVersionName()
                                throws java.io.IOException,
                                       AutomationException
The name of the version.

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

setVersionName

public void setVersionName(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
The name of the version.

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

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The version's description.

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

setDescription

public void setDescription(java.lang.String description)
                    throws java.io.IOException,
                           AutomationException
The version's description.

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

getAccess

public int getAccess()
              throws java.io.IOException,
                     AutomationException
The version's access permission.

Specified by:
getAccess in interface IVersion
Returns:
A com.esri.arcgis.geodatabase.esriVersionAccess constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccess

public void setAccess(int access)
               throws java.io.IOException,
                      AutomationException
The version's access permission.

Specified by:
setAccess in interface IVersion
Parameters:
access - A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasParent

public boolean hasParent()
                  throws java.io.IOException,
                         AutomationException
True if this version have a parent version.

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

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Permanently deletes the version from the database.

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

refreshVersion

public void refreshVersion()
                    throws java.io.IOException,
                           AutomationException
Refreshes the version with the corresponding database state.

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

createVersion

public IVersion createVersion(java.lang.String newName)
                       throws java.io.IOException,
                              AutomationException
Creates a new version equivalent to this version.

Specified by:
createVersion in interface IVersion
Parameters:
newName - The newName (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.