com.esri.arcgis.geodatabase
Class IVersionedObject2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IVersionedObjectProxy
          extended by com.esri.arcgis.geodatabase.IVersionedObject2Proxy
All Implemented Interfaces:
IVersionedObject, IVersionedObject2, Externalizable, Serializable
Direct Known Subclasses:
IVersionedObject3Proxy

public class IVersionedObject2Proxy
extends IVersionedObjectProxy
implements IVersionedObject2, Serializable

Provides access to members that manage a versioned object.

Superseded By

IVersionedObject3

Description

The IVersionedObject2 interface is used to determine the current version of an object, to register feature datasets or object classes as versioned, to detect if the objectclass is registered as versioned and if the versioned object class contains any edits that have not been compressed to the base state.

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
  IVersionedObject2Proxy()
           
  IVersionedObject2Proxy(Object obj)
           
protected IVersionedObject2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isHasUncompressedEdits()
          Indicates if the object has edits that haven't been compressed yet.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IVersionedObjectProxy
getVersion, isRegisteredAsVersioned, registerAsVersioned
 
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.IVersionedObject
getVersion, isRegisteredAsVersioned, registerAsVersioned
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IVersionedObject2Proxy

public IVersionedObject2Proxy()

IVersionedObject2Proxy

public IVersionedObject2Proxy(Object obj)
                       throws IOException
Throws:
IOException

IVersionedObject2Proxy

protected IVersionedObject2Proxy(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 IVersionedObjectProxy
Throws:
IOException

removeListener

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

isHasUncompressedEdits

public boolean isHasUncompressedEdits()
                               throws IOException,
                                      AutomationException
Indicates if the object has edits that haven't been compressed yet.

Remarks

The HasUncompressedEdits method returns a boolean value that represents if the dataset contains versioned edits that have not been compressed to the base state.

Knowing if the dataset contains any edits is important prior to unregistering the dataset as versioned.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isHasUncompressedEdits in interface IVersionedObject2
Returns:
The hasUncompressedEdits
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.