com.esri.arcgis.geodatabase
Class IVersionEventsAdapter

java.lang.Object
  extended by com.esri.arcgis.geodatabase.IVersionEventsAdapter
All Implemented Interfaces:
IVersionEvents, Serializable, EventListener

public class IVersionEventsAdapter
extends Object
implements IVersionEvents

See Also:
Serialized Form

Constructor Summary
IVersionEventsAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IVersionEventsAdapter

public IVersionEventsAdapter()
Method Detail

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.