com.esri.arcgis.geodatabase
Interface IDatasetEditInfo

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AttributedRelationshipClass, FeatureClass, FeatureDataset, IDatasetEditInfoProxy, NetCDFFeatureClass, NetworkDataset, ObjectClass, RasterCatalog, RouteEventSource, SchematicDiagram, SchematicDiagramClass, SchematicElementClass, StreetNetwork, Table, UtilityNetwork, XYEventSource

public interface IDatasetEditInfo
extends java.io.Serializable

Provides access to members that maintain dataset editing information.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

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

See Also:
IDatasetEdit, IWorkspaceEdit

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

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

Supported Platforms

Windows, Solaris, Linux

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.

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

isCanUndo

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

Supported Platforms

Windows, Solaris, Linux

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

isCanRedo

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

Supported Platforms

Windows, Solaris, Linux

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