com.esri.arcgis.geodatabase
Class ISelectionSet2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ISelectionSetProxy
          extended by com.esri.arcgis.geodatabase.ISelectionSet2Proxy
All Implemented Interfaces:
ISelectionSet, ISelectionSet2, Externalizable, Serializable

public class ISelectionSet2Proxy
extends ISelectionSetProxy
implements ISelectionSet2, Serializable

Provides access to members that manage a set of selected table rows or features.

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
  ISelectionSet2Proxy()
           
  ISelectionSet2Proxy(Object obj)
           
protected ISelectionSet2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 void update(IQueryFilter queryFilter, boolean recycling, ICursor[] cursor)
          Returns a cursor that can be used to update the objects specified by a query over this selection set.
 
Methods inherited from class com.esri.arcgis.geodatabase.ISelectionSetProxy
add, addList, combine, getCount, getFullName, getIDs, getTarget, makePermanent, refresh, removeList, search, select
 
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.ISelectionSet
add, addList, combine, getCount, getFullName, getIDs, getTarget, makePermanent, refresh, removeList, search, select
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ISelectionSet2Proxy

public ISelectionSet2Proxy()

ISelectionSet2Proxy

public ISelectionSet2Proxy(Object obj)
                    throws IOException
Throws:
IOException

ISelectionSet2Proxy

protected ISelectionSet2Proxy(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 ISelectionSetProxy
Throws:
IOException

removeListener

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

update

public void update(IQueryFilter queryFilter,
                   boolean recycling,
                   ICursor[] cursor)
            throws IOException,
                   AutomationException
Returns a cursor that can be used to update the objects specified by a query over this selection set.

Description

The Update method returns an 'update' cursor that can be used to update or delete rows. It offers somewhat faster performance than multiple calls to Store or Delete on row objects fetched using a non-recycling search cursor for tables storing simple rows and simple features. There is no difference in performance for custom features.

Remarks

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
update in interface ISelectionSet2
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.