com.esri.arcgis.geodatabase
Interface IDatasetEditInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttributedRelationshipClass, FeatureClass, FeatureDataset, IDatasetEditInfoProxy, NetworkDataset, ObjectClass, RasterCatalog, RouteEventSource, SchematicDataset, SchematicDiagram, SchematicDiagramClass, SchematicElementClass, SchematicInMemoryFeatureClass, StreetNetwork, Table, TemporalRecordSet, UtilityNetwork, XYEventSource

public interface IDatasetEditInfo
extends Serializable

Provides access to members that maintain dataset editing information.

Remarks

The IDatasetEditInfo interface can be used to determine the editing capabilities of a dataset before an edit session is begun.

Product Availability

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


Method Summary
 boolean isCanEdit()
          True if the dataset supports edit sessions with the ability to discard edits on save.
 boolean isCanRedo()
          True if the dataset supports edit sessions with the ability to redo undone operations.
 boolean isCanUndo()
          True if the dataset supports edit sessions with the ability to undo individual edit operations.
 

Method Detail

isCanEdit

boolean isCanEdit()
                  throws IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to discard edits on save.

Remarks

This property is to be used within an active edit session, results cannot be guaranteed if called on a dataset outside of an edit session.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isCanUndo

boolean isCanUndo()
                  throws IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to undo individual edit operations.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isCanRedo

boolean isCanRedo()
                  throws IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to redo undone operations.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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