com.esri.arcgis.geodatabase
Interface IWorkspaceEdit2

All Superinterfaces:
IWorkspaceEdit, Serializable
All Known Implementing Classes:
IWorkspaceEdit2Proxy

public interface IWorkspaceEdit2
extends IWorkspaceEdit, 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.


Method Summary
 IDataChangesEx getEditDataChanges(int editChangeType)
          gets changes during edit session
 boolean isInEditOperation()
          Is the workspace currently in an edit operation?
 
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceEdit
abortEditOperation, disableUndoRedo, enableUndoRedo, hasEdits, hasRedos, hasUndos, isBeingEdited, redoEditOperation, startEditing, startEditOperation, stopEditing, stopEditOperation, undoEditOperation
 

Method Detail

isInEditOperation

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.

Returns:
The inEditOp
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditDataChanges

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

Product Availability

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

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.