com.esri.arcgis.geodatabaseextensions
Interface ILockedFeatureSearch

All Superinterfaces:
Serializable
All Known Implementing Classes:
TemporalFeatureClass

public interface ILockedFeatureSearch
extends Serializable

Provides access to methods needed to select, search and lock MBDB records.

Product Availability

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


Method Summary
 IFIDSet getAllLockedFIDs()
          Indicates the FIDs for all locked features.
 ICursor searchAndLock(IQueryFilter piQueryFilter, boolean recycling)
          Searches records that satisfy the query filter and lockes them.
 ISelectionSet selectAndLock(IQueryFilter piQueryFilter, int selType, int selOption, IWorkspace piSelectionContainer)
          Selectes records that satisfy the query filter, selection type and selection option, and lockes them.
 void unlockAllFeatures()
          Unlocks all features that are locked.
 

Method Detail

getAllLockedFIDs

IFIDSet getAllLockedFIDs()
                         throws IOException,
                                AutomationException
Indicates the FIDs for all locked features.

Product Availability

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

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

searchAndLock

ICursor searchAndLock(IQueryFilter piQueryFilter,
                      boolean recycling)
                      throws IOException,
                             AutomationException
Searches records that satisfy the query filter and lockes them.

Product Availability

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

Parameters:
piQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectAndLock

ISelectionSet selectAndLock(IQueryFilter piQueryFilter,
                            int selType,
                            int selOption,
                            IWorkspace piSelectionContainer)
                            throws IOException,
                                   AutomationException
Selectes records that satisfy the query filter, selection type and selection option, and lockes them.

Product Availability

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

Parameters:
piQueryFilter - 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)
piSelectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unlockAllFeatures

void unlockAllFeatures()
                       throws IOException,
                              AutomationException
Unlocks all features that are locked.

Product Availability

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

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