com.esri.arcgis.editor
Class IEditAttributePropertiesProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IEditAttributePropertiesProxy
All Implemented Interfaces:
IEditAttributeProperties, Externalizable, Serializable

public class IEditAttributePropertiesProxy
extends com.esri.arcgis.interop.Dispatch
implements IEditAttributeProperties, 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.

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
  IEditAttributePropertiesProxy()
           
  IEditAttributePropertiesProxy(Object obj)
           
protected IEditAttributePropertiesProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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 removeListener(String iidStr, Object theListener)
           
 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.
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEditAttributePropertiesProxy

public IEditAttributePropertiesProxy()

IEditAttributePropertiesProxy

public IEditAttributePropertiesProxy(Object obj)
                              throws IOException
Throws:
IOException

IEditAttributePropertiesProxy

protected IEditAttributePropertiesProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isNonversionedAttributionEnabled

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

Product Availability

Available with ArcGIS Desktop.

Specified by:
isNonversionedAttributionEnabled in interface IEditAttributeProperties
Returns:
The pFlag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNonversionedAttributionEnabled

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

Product Availability

Available with ArcGIS Desktop.

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

isAttributeEditAll

public 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.

Specified by:
isAttributeEditAll in interface IEditAttributeProperties
Returns:
The pFlag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeEditAll

public 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.

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

getAttributeEditClasses

public 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.

Specified by:
getAttributeEditClasses in interface IEditAttributeProperties
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

public 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.

Specified by:
setAttributeEditClassesByRef in interface IEditAttributeProperties
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.