com.esri.arcgis.geodatabase
Interface IVersionEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IVersionEventsAdapter, IVersionEventsProxy

public interface IVersionEvents
extends EventListener, Serializable

Provides access to events that occur on a version.

Product Availability

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


Method Summary
 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.
 

Method Detail

onConflictsDetected

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onReconcile

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRefreshVersion

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRedefineVersion

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.