com.esri.arcgis.geodatabase
Class IGeodatabaseRelease3Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IGeodatabaseReleaseProxy
          extended by com.esri.arcgis.geodatabase.IGeodatabaseRelease2Proxy
              extended by com.esri.arcgis.geodatabase.IGeodatabaseRelease3Proxy
All Implemented Interfaces:
IGeodatabaseRelease, IGeodatabaseRelease2, IGeodatabaseRelease3, Externalizable, Serializable

public class IGeodatabaseRelease3Proxy
extends IGeodatabaseRelease2Proxy
implements IGeodatabaseRelease3, Serializable

Provides access to members that provide information about the release version of a geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGeodatabaseRelease3Proxy()
           
  IGeodatabaseRelease3Proxy(Object obj)
           
protected IGeodatabaseRelease3Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 void upgrade2(boolean doPrerequisiteCheck, boolean doUpgrade, ITrackCancel cancelTrack, IGPMessages messages)
          Upgrade the database to the current release level.
 
Methods inherited from class com.esri.arcgis.geodatabase.IGeodatabaseRelease2Proxy
isDatasetSupported
 
Methods inherited from class com.esri.arcgis.geodatabase.IGeodatabaseReleaseProxy
getBugfixVersion, getMajorVersion, getMinorVersion, isCanUpgrade, isCurrentRelease, upgrade
 
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.IGeodatabaseRelease2
isDatasetSupported
 
Methods inherited from interface com.esri.arcgis.geodatabase.IGeodatabaseRelease
getBugfixVersion, getMajorVersion, getMinorVersion, isCanUpgrade, isCurrentRelease, upgrade
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGeodatabaseRelease3Proxy

public IGeodatabaseRelease3Proxy()

IGeodatabaseRelease3Proxy

public IGeodatabaseRelease3Proxy(Object obj)
                          throws IOException
Throws:
IOException

IGeodatabaseRelease3Proxy

protected IGeodatabaseRelease3Proxy(Object obj,
                                    String iid)
                             throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IGeodatabaseRelease2Proxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IGeodatabaseRelease2Proxy
Throws:
IOException

upgrade2

public void upgrade2(boolean doPrerequisiteCheck,
                     boolean doUpgrade,
                     ITrackCancel cancelTrack,
                     IGPMessages messages)
              throws IOException,
                     AutomationException
Upgrade the database to the current release level.

Description

This method will upgrade the geodatabase system table release version to the current version of the ArcGIS software you are running. It will also augment the geodatabase system tables as required to complete the upgrade. An exclusive lock on the geodatabase is required to perform the upgrade. As opposed to IGeodatabaseRelease.Upgrade, this method will run against all types of geodatabases; personal, file and ArcSDE.

Upgrading a pre-ArcGIS 9.2 (low precision) geodatabase will not convert existing datasets within the geodatabase to high precision. In order to convert datasets from Low to High precision, use the IGeoDatasetSchemaEdit2::AlterResolution method.

Once the geodatabase has been upgraded, it is not usable in older versions of the software. Use the IGeodatabaseRelease2::DatasetSupported property to determine if the creation and use of particular datasets are supported within a geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
upgrade2 in interface IGeodatabaseRelease3
Parameters:
doPrerequisiteCheck - The doPrerequisiteCheck (in)
doUpgrade - The doUpgrade (in)
cancelTrack - A reference to a com.esri.arcgis.system.ITrackCancel (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.