com.esri.arcgis.geodatabase
Class IVersionEvents2Adapter

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

public class IVersionEvents2Adapter
extends Object
implements IVersionEvents2

See Also:
Serialized Form

Constructor Summary
IVersionEvents2Adapter()
           
 
Method Summary
 void onArchiveUpdated(IVersionEvents2OnArchiveUpdatedEvent theEvent)
          This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.
 void onBeginReconcile(IVersionEvents2OnBeginReconcileEvent theEvent)
          This event is fired before a version is reconciled.
 void onDeleteVersion(IVersionEvents2OnDeleteVersionEvent theEvent)
          This event is fired before a version is deleted.
 void onPost(IVersionEvents2OnPostEvent theEvent)
          This event is fired after a version is posted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IVersionEvents2Adapter

public IVersionEvents2Adapter()
Method Detail

onArchiveUpdated

public void onArchiveUpdated(IVersionEvents2OnArchiveUpdatedEvent theEvent)
                      throws IOException,
                             AutomationException
This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.

Remarks

This event is fired when an archiving operation is done on the workspace. It can be used by application developers to modify archive tables every time an archiving operation has been initiated on a workspace.

Product Availability

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

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

onBeginReconcile

public void onBeginReconcile(IVersionEvents2OnBeginReconcileEvent theEvent)
                      throws IOException,
                             AutomationException
This event is fired before a version is reconciled.

Product Availability

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

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

onPost

public void onPost(IVersionEvents2OnPostEvent theEvent)
            throws IOException,
                   AutomationException
This event is fired after a version is posted.

Remarks

This event is fired after a version is posted. It can be used by application developers to initiate custom code every time a version is posted. Since the event fires after a post is completed it can not be used to determine differences between versions.

Product Availability

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

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

onDeleteVersion

public void onDeleteVersion(IVersionEvents2OnDeleteVersionEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired before a version is deleted.

Remarks

This event is fired prior to a version being deleted. It can be used by application developers to add custom behavior prior to the deletion of a version.

Product Availability

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

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