com.esri.arcgis.geodatabase
Class ITableWrite2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITableWriteProxy
          extended by com.esri.arcgis.geodatabase.ITableWrite2Proxy
All Implemented Interfaces:
ITableWrite, ITableWrite2, Externalizable, Serializable

public class ITableWrite2Proxy
extends ITableWriteProxy
implements ITableWrite2, Serializable

Provides access to members that control Low level Table Write. For use only by custom feature implementations that override Store.

Product Availability

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

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
  ITableWrite2Proxy()
           
  ITableWrite2Proxy(Object obj)
           
protected ITableWrite2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 void truncate()
          Truncates all rows in the table.
 
Methods inherited from class com.esri.arcgis.geodatabase.ITableWriteProxy
deleteRows, insertRows, removeDeletedRows, removeRow, removeRows, updateRows, writeChangedRows, writeMovedRows, writeRotatedRows, writeRow, writeRows
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.ITableWrite
deleteRows, insertRows, removeDeletedRows, removeRow, removeRows, updateRows, writeChangedRows, writeMovedRows, writeRotatedRows, writeRow, writeRows
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITableWrite2Proxy

public ITableWrite2Proxy()

ITableWrite2Proxy

public ITableWrite2Proxy(Object obj)
                  throws IOException
Throws:
IOException

ITableWrite2Proxy

protected ITableWrite2Proxy(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 ITableWriteProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ITableWriteProxy
Throws:
IOException

truncate

public void truncate()
              throws IOException,
                     AutomationException
Truncates all rows in the table.

Remarks

The truncate method is only available for local geodatabase datasets and non-versioned SDE feature classes and tables. This method will truncate the non-versioned table or feature class table. Since this method ignores any schma locks that might be present on the table it should be used with caution.

Product Availability

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

Specified by:
truncate in interface ITableWrite2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.