com.esri.arcgis.editor
Interface IEditAttributeProperties

All Superinterfaces:
Serializable
All Known Implementing Classes:
Editor, IEditAttributePropertiesProxy

public interface IEditAttributeProperties
extends Serializable

Provides access to members that control the short transaction attribute properties of an edit session.

Remarks

This interface was added to the Editor co-class in support of editing non-versioned data through short transactions.

Editing inside a short transaction indicates, at least at the editor level, that when creating a new feature the shape of the feature and attributes contained within the fields collection must be stored to the base table at the same time within the same transaction.

When To Use

Use IEditAttributeProperties to enable / diable short transactional editing mode. If short transactions are enabled, the editing environment can be modified to determine which editable Feature Classes in the map are editable via short transactions.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 ISet getAttributeEditClasses()
          The list of applicable feature classes.
 boolean isAttributeEditAll()
          Indicates if the pre-populate attributes dialog is used for all layers or just the selected layers.
 boolean isNonversionedAttributionEnabled()
          Indicates if the attribute query for newly created features is enabled.
 void setAttributeEditAll(boolean pFlag)
          Indicates if the pre-populate attributes dialog is used for all layers or just the selected layers.
 void setAttributeEditClassesByRef(ISet ppClasses)
          The list of applicable feature classes.
 void setNonversionedAttributionEnabled(boolean pFlag)
          Indicates if the attribute query for newly created features is enabled.
 

Method Detail

isNonversionedAttributionEnabled

boolean isNonversionedAttributionEnabled()
                                         throws IOException,
                                                AutomationException
Indicates if the attribute query for newly created features is enabled.

Product Availability

Available with ArcGIS Desktop.

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

setNonversionedAttributionEnabled

void setNonversionedAttributionEnabled(boolean pFlag)
                                       throws IOException,
                                              AutomationException
Indicates if the attribute query for newly created features is enabled.

Product Availability

Available with ArcGIS Desktop.

Parameters:
pFlag - The pFlag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAttributeEditAll

boolean isAttributeEditAll()
                           throws IOException,
                                  AutomationException
Indicates if the pre-populate attributes dialog is used for all layers or just the selected layers.

Remarks

This property reports if the Editor is currently enabled for short transactional editing on all the editable Feature Classes within the TOC.

Use this property to determine if short transactions are enabled for all the editable layers.

Product Availability

Available with ArcGIS Desktop.

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

setAttributeEditAll

void setAttributeEditAll(boolean pFlag)
                         throws IOException,
                                AutomationException
Indicates if the pre-populate attributes dialog is used for all layers or just the selected layers.

Remarks

This property reports if the Editor is currently enabled for short transactional editing on all the editable Feature Classes within the TOC.

Use this property to enable short transactions for all the editable layers.

Product Availability

Available with ArcGIS Desktop.

Parameters:
pFlag - The pFlag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeEditClasses

ISet getAttributeEditClasses()
                             throws IOException,
                                    AutomationException
The list of applicable feature classes.

Remarks

This property reports the collection of editable Feature Classes which the Editor currently has enabled for short transactional editing. So you must be in an edit session for the editor to access the editable Feature Classes.

Use this property to return the collection of Feature Class objects enabled for short transactional editing.

Product Availability

Available with ArcGIS Desktop.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeEditClassesByRef

void setAttributeEditClassesByRef(ISet ppClasses)
                                  throws IOException,
                                         AutomationException
The list of applicable feature classes.

Remarks

This property reports the collection of editable Feature Classes which the Editor currently has enabled for short transactional editing.

Use this property to set the collection of Feature Class objects enabled for short transactional editing.

Product Availability

Available with ArcGIS Desktop.

Parameters:
ppClasses - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.