com.esri.arcgis.geodatabase
Class IVersionEvents2Proxy

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

public class IVersionEvents2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IVersionEvents2, 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
  IVersionEvents2Proxy()
           
  IVersionEvents2Proxy(Object obj)
           
protected IVersionEvents2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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.
 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

IVersionEvents2Proxy

public IVersionEvents2Proxy()

IVersionEvents2Proxy

public IVersionEvents2Proxy(Object obj)
                     throws IOException
Throws:
IOException

IVersionEvents2Proxy

protected IVersionEvents2Proxy(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

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.