com.esri.arcgis.geodatabase
Class IVersionEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IVersionEventsProxy
All Implemented Interfaces:
IVersionEvents, Externalizable, Serializable, EventListener

public class IVersionEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IVersionEvents, Serializable

Provides access to events that occur on a version.

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
  IVersionEventsProxy()
           
  IVersionEventsProxy(Object obj)
           
protected IVersionEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onConflictsDetected(IVersionEventsOnConflictsDetectedEvent theEvent)
          This event is fired during reconciliation, after conflicts are detected.
 void onReconcile(IVersionEventsOnReconcileEvent theEvent)
          This event is fired after the version is reconciled, associating it with a new database state.
 void onRedefineVersion(IVersionEventsOnRedefineVersionEvent theEvent)
          This event is fired after the version is changed in place to represent a different version, associating it with a new database state.
 void onRefreshVersion(IVersionEventsOnRefreshVersionEvent theEvent)
          This event is fired after the version is refreshed, associating it with a new database state.
 void removeListener(String iidStr, Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IVersionEventsProxy

public IVersionEventsProxy()

IVersionEventsProxy

public IVersionEventsProxy(Object obj)
                    throws IOException
Throws:
IOException

IVersionEventsProxy

protected IVersionEventsProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

onConflictsDetected

public void onConflictsDetected(IVersionEventsOnConflictsDetectedEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired during reconciliation, after conflicts are detected. It can be used by application developers to filter found conflicts.

Remarks

It is the developer's responsibility to set the conflictsRemoved argument to true if any conflicts were removed from any of the Conflict Classes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onConflictsDetected in interface IVersionEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onReconcile

public void onReconcile(IVersionEventsOnReconcileEvent theEvent)
                 throws IOException,
                        AutomationException
This event is fired after the version is reconciled, associating it with a new database state. Applications must discard or refresh any cached row objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onReconcile in interface IVersionEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRefreshVersion

public void onRefreshVersion(IVersionEventsOnRefreshVersionEvent theEvent)
                      throws IOException,
                             AutomationException
This event is fired after the version is refreshed, associating it with a new database state. Applications must discard or refresh any cached row objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onRefreshVersion in interface IVersionEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRedefineVersion

public void onRedefineVersion(IVersionEventsOnRedefineVersionEvent theEvent)
                       throws IOException,
                              AutomationException
This event is fired after the version is changed in place to represent a different version, associating it with a new database state. Applications must discard or refresh any cached row objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onRedefineVersion in interface IVersionEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.