| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IVersionedObjectProxy
com.esri.arcgis.geodatabase.IVersionedObject2Proxy
public class IVersionedObject2Proxy
Provides access to members that manage a versioned object.
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.
| 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 | 
|---|
public boolean noncastable
| Constructor Detail | 
|---|
public IVersionedObject2Proxy()
public IVersionedObject2Proxy(Object obj)
                       throws IOException
IOException
protected IVersionedObject2Proxy(Object obj,
                                 String iid)
                          throws IOException
IOException| Method Detail | 
|---|
public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
addListener in class IVersionedObjectProxyIOException
public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
removeListener in class IVersionedObjectProxyIOException
public boolean isHasUncompressedEdits()
                               throws IOException,
                                      AutomationException
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.
isHasUncompressedEdits in interface IVersionedObject2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||