com.esri.arcgis.geodatabase
Class IWorkspaceEvents2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceEventsProxy
          extended by com.esri.arcgis.geodatabase.IWorkspaceEvents2Proxy
All Implemented Interfaces:
IWorkspaceEvents, IWorkspaceEvents2, Externalizable, Serializable, EventListener

public class IWorkspaceEvents2Proxy
extends IWorkspaceEventsProxy
implements IWorkspaceEvents2, Serializable

Provides access to events that may be fired by a Workspace.

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
  IWorkspaceEvents2Proxy()
           
  IWorkspaceEvents2Proxy(Object obj)
           
protected IWorkspaceEvents2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onModifyDataset(IWorkspaceEvents2OnModifyDatasetEvent theEvent)
          This event is fired when a dataset is modified.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IWorkspaceEventsProxy
onCreateDataset, onDeleteDataset, onRenameDataset
 
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

IWorkspaceEvents2Proxy

public IWorkspaceEvents2Proxy()

IWorkspaceEvents2Proxy

public IWorkspaceEvents2Proxy(Object obj)
                       throws IOException
Throws:
IOException

IWorkspaceEvents2Proxy

protected IWorkspaceEvents2Proxy(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 IWorkspaceEventsProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IWorkspaceEventsProxy
Throws:
IOException

onModifyDataset

public void onModifyDataset(IWorkspaceEvents2OnModifyDatasetEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired when a dataset is modified.

Product Availability

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

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