com.esri.arcgis.geodatabase
Class ISelectionSetProxy

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

public class ISelectionSetProxy
extends com.esri.arcgis.interop.Dispatch
implements ISelectionSet, java.io.Serializable

Internal use class Proxy for COM Interface 'ISelectionSet'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that manage a set of selected table rows or features.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISelectionSet
IID, IIDf7ad47d1_d55e_11d1_8882_0000f877762d
 
Constructor Summary
  ISelectionSetProxy()
          For internal use only
  ISelectionSetProxy(java.lang.Object obj)
           
protected ISelectionSetProxy(java.lang.Object obj, java.lang.String iid)
           
  ISelectionSetProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISelectionSetProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void add(int oID)
          Adds an object id to the selection set.
 void addList(int count, int[] oIDList)
          Adds a list of object id's to the selection set.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void combine(ISelectionSet otherSet, int setOp, ISelectionSet[] resultSet)
          Combines this selection set with another selection set using the specified set operation.
 int getCount()
          The number of oids in the selection set.
 IName getFullName()
          The full name of the selection set.
 IEnumIDs getIDs()
          Enumerates the object ids in the selection set.
 ITable getTarget()
          The Table or FeatureClass over which the selection set is defined.
 void makePermanent()
          Makes the SelectionSet permanent.
 void refresh()
          Refreshes the state of a snapshot selection.
 void removeList(int count, int[] oIDList)
          Removes a list of object id's from the selection set.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void search(IQueryFilter queryFilter, boolean recycling, ICursor[] cursor)
          Returns a cursor that can be used to retrieve the objects specified by a query over this selection set.
 ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer)
          Returns a new selection That contains the object ids selected by a query over this selection set.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ISelectionSetProxy

public ISelectionSetProxy(java.lang.String CLSID,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.net.UnknownHostException,
                          java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ISelectionSetProxy

public ISelectionSetProxy()
For internal use only


ISelectionSetProxy

public ISelectionSetProxy(java.lang.Object obj)
                   throws java.io.IOException
Throws:
java.io.IOException

ISelectionSetProxy

protected ISelectionSetProxy(java.lang.Object obj,
                             java.lang.String iid)
                      throws java.io.IOException
Throws:
java.io.IOException

ISelectionSetProxy

protected ISelectionSetProxy(java.lang.String CLSID,
                             java.lang.String iid,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

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

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The full name of the selection set.

Specified by:
getFullName in interface ISelectionSet
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTarget

public ITable getTarget()
                 throws java.io.IOException,
                        AutomationException
The Table or FeatureClass over which the selection set is defined.

Specified by:
getTarget in interface ISelectionSet
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makePermanent

public void makePermanent()
                   throws java.io.IOException,
                          AutomationException
Makes the SelectionSet permanent. By default SelectionSets are deleted when released.

Specified by:
makePermanent in interface ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of oids in the selection set.

Specified by:
getCount in interface ISelectionSet
Returns:
The numObjectIds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(int oID)
         throws java.io.IOException,
                AutomationException
Adds an object id to the selection set.

Specified by:
add in interface ISelectionSet
Parameters:
oID - The oID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addList

public void addList(int count,
                    int[] oIDList)
             throws java.io.IOException,
                    AutomationException
Adds a list of object id's to the selection set.

Specified by:
addList in interface ISelectionSet
Parameters:
count - The count (in)
oIDList - The oIDList (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

combine

public void combine(ISelectionSet otherSet,
                    int setOp,
                    ISelectionSet[] resultSet)
             throws java.io.IOException,
                    AutomationException
Combines this selection set with another selection set using the specified set operation.

Specified by:
combine in interface ISelectionSet
Parameters:
otherSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
setOp - A com.esri.arcgis.geodatabase.esriSetOperation constant (in)
resultSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

search

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

Specified by:
search in interface ISelectionSet
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public ISelectionSet select(IQueryFilter queryFilter,
                            int selType,
                            int selOption,
                            IWorkspace selectionContainer)
                     throws java.io.IOException,
                            AutomationException
Returns a new selection That contains the object ids selected by a query over this selection set.

Specified by:
select in interface ISelectionSet
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)
selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)
selectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Refreshes the state of a snapshot selection.

Specified by:
refresh in interface ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIDs

public IEnumIDs getIDs()
                throws java.io.IOException,
                       AutomationException
Enumerates the object ids in the selection set.

Specified by:
getIDs in interface ISelectionSet
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumIDs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeList

public void removeList(int count,
                       int[] oIDList)
                throws java.io.IOException,
                       AutomationException
Removes a list of object id's from the selection set.

Specified by:
removeList in interface ISelectionSet
Parameters:
count - The count (in)
oIDList - The oIDList (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.