com.esri.arcgis.geodatabase
Class IWorkspaceEditEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceEditEventsProxy
All Implemented Interfaces:
IWorkspaceEditEvents, Externalizable, Serializable, EventListener
Direct Known Subclasses:
IWorkspaceEditEvents2Proxy

public class IWorkspaceEditEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IWorkspaceEditEvents, Serializable

Provides access to events that occur to a workspace in the context of editing it.

Remarks

IWorkspaceEditEvents is an outbound interface supported by Personal, File and ArcSDE geodatabase workspaces. Clients can listen for and be notified of all the significant editing events (such as OnStartEditing and OnUndoEditOperation) via this interface. In response to these events, clients should discard or refresh (that is, discard and refetch) cached row objects within the application. Clients should also listen for and respond to the notifications in IVersionEvents.

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
  IWorkspaceEditEventsProxy()
           
  IWorkspaceEditEventsProxy(Object obj)
           
protected IWorkspaceEditEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
          This event is fired after an edit operation is aborted.
 void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
          This event is fired after an undone edit operation is redone.
 void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
          This event is fired after editing is started on a workspace.
 void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
          This event is fired after an edit operation is started.
 void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
          This event is fired after editing is stopped on a workspace.
 void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
          This event is fired after an edit operation is stopped (successfully completed).
 void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
          This event is fired after a (completed) edit operation is undone.
 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

IWorkspaceEditEventsProxy

public IWorkspaceEditEventsProxy()

IWorkspaceEditEventsProxy

public IWorkspaceEditEventsProxy(Object obj)
                          throws IOException
Throws:
IOException

IWorkspaceEditEventsProxy

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

onStartEditing

public void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
                    throws IOException,
                           AutomationException
This event is fired after editing is started on a workspace.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onStopEditing

public void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
                   throws IOException,
                          AutomationException
This event is fired after editing is stopped on a workspace.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onStartEditOperation

public void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is started.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onAbortEditOperation

public void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is aborted. Any cached row objects must be discarded / refreshed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onStopEditOperation

public void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an edit operation is stopped (successfully completed).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onUndoEditOperation

public void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after a (completed) edit operation is undone. Any cached row objects must be discarded / refreshed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onRedoEditOperation

public void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an undone edit operation is redone. Any cached row objects must be discarded / refreshed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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