com.esri.arcgis.geodatabase
Class IWorkspaceEdit2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceEditProxy
          extended by com.esri.arcgis.geodatabase.IWorkspaceEdit2Proxy
All Implemented Interfaces:
IWorkspaceEdit, IWorkspaceEdit2, Externalizable, Serializable

public class IWorkspaceEdit2Proxy
extends IWorkspaceEditProxy
implements IWorkspaceEdit2, Serializable

Provides access to members that control Workspace Editing.

Remarks

The IWorkspaceEdit2 interface has two properties. EditDataChanges can be used to retrieve the changes made in the current edit session (or edit operation), and IsInEditOperation can be used to determine if the workspace edit session is in an active edit operation.

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
  IWorkspaceEdit2Proxy()
           
  IWorkspaceEdit2Proxy(Object obj)
           
protected IWorkspaceEdit2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IDataChangesEx getEditDataChanges(int editChangeType)
          gets changes during edit session
 boolean isInEditOperation()
          Is the workspace currently in an edit operation?
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IWorkspaceEditProxy
abortEditOperation, disableUndoRedo, enableUndoRedo, hasEdits, hasRedos, hasUndos, isBeingEdited, redoEditOperation, startEditing, startEditOperation, stopEditing, stopEditOperation, undoEditOperation
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceEdit
abortEditOperation, disableUndoRedo, enableUndoRedo, hasEdits, hasRedos, hasUndos, isBeingEdited, redoEditOperation, startEditing, startEditOperation, stopEditing, stopEditOperation, undoEditOperation
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceEdit2Proxy

public IWorkspaceEdit2Proxy()

IWorkspaceEdit2Proxy

public IWorkspaceEdit2Proxy(Object obj)
                     throws IOException
Throws:
IOException

IWorkspaceEdit2Proxy

protected IWorkspaceEdit2Proxy(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 IWorkspaceEditProxy
Throws:
IOException

removeListener

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

isInEditOperation

public boolean isInEditOperation()
                          throws IOException,
                                 AutomationException
Is the workspace currently in an edit operation?

Remarks

Returns a Boolean corresponding to if the workspace is currently in an edit operation. This Boolean property should be used when deciding to start an edit operation.

Product Availability

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

Specified by:
isInEditOperation in interface IWorkspaceEdit2
Returns:
The inEditOp
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditDataChanges

public IDataChangesEx getEditDataChanges(int editChangeType)
                                  throws IOException,
                                         AutomationException
gets changes during edit session

Product Availability

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

Specified by:
getEditDataChanges in interface IWorkspaceEdit2
Parameters:
editChangeType - A com.esri.arcgis.geodatabase.esriEditDataChangesType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataChangesEx
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.