com.esri.arcgis.carto
Interface IGraphicFeatureServer2

All Superinterfaces:
Serializable
All Known Implementing Classes:
GraphicFeatureServer, GraphicFeatureServerIP, GraphicFeatureServerLP

public interface IGraphicFeatureServer2
extends Serializable

Provides access to members of Graphic Feature Server with version and edit with rollbackOnFailure.

Product Availability

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


Method Summary
 IEditResults add2(String gdbVersion, int layerOrTableID, IDataObjects dataObjects, boolean rollbackOnFailure)
          add2
 IEditResults addAttachments2(String gdbVersion, int layerOrTableID, IAttachmentDataArray attachmentDataArray, boolean rollbackOnFailure)
          addAttachments2
 ITableEditResults applyEdits2(String gdbVersion, ITableEdits tableEdits, boolean rollbackOnFailure)
          applyEdits2
 void delete2(String gdbVersion, int layerOrTableID, String definitionExpression, boolean rollbackOnFailure, IQueryFilter queryFilter)
          delete2
 IEditResults deleteAttachments2(String gdbVersion, int layerOrTableID, ILongArray idsOfAttachmentsToDelete, boolean rollbackOnFailure)
          deleteAttachments2
 IEditResults deleteByID2(String gdbVersion, int layerOrTableID, ILongArray idsOfObjectsToDelete, boolean rollbackOnFailure)
          deleteByID2
 int getCount2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          getCount2
 IFeatureServerInfo getServerInfo()
          getServerInfo
 int getServiceObjectCount2(String gdbVersion, IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry)
          getServiceObjectCount2
 IServiceData query2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter, double maximumAllowableOffset, IServiceDataOptions serviceDataOptions)
          query2
 IAttachmentDataArray queryAttachmentData2(String gdbVersion, int layerOrTableID, ILongArray attachmentIDs, int transportType)
          queryAttachmentData2
 IAttachmentInfoArray queryAttachmentInfos2(String gdbVersion, int layerOrTableID, ILongArray objectIDs)
          queryAttachmentInfos2
 IServiceData queryFromService2(String gdbVersion, IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry, ISpatialReference outSR, ITimeReference outTR, double maximumAllowableOffset, IServiceDataOptions serviceDataOptions)
          queryFromService2
 IStringArray queryHTMLPopups2(String gdbVersion, int layerOrTableID, ILongArray objectIDs)
          Returns the html as text that can be used in popups.
 ILongArray queryIDs2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          queryIDs2
 IServiceData queryRelatedObjects2(String gdbVersion, int sourceLayerOrTableID, ILongArray objectIDsInSource, int relationshipID, String targetDefinitionExpression, String targetTableProps, boolean groupBySourceOIDs, ISpatialReference outSR, ITimeReference outTR, double maximumAllowableOffset, IServiceDataOptions serviceDataOptions)
          queryRelatedObjects2
 IEditResults update2(String gdbVersion, int layerOrTableID, IDataObjects dataObjects, boolean rollbackOnFailure)
          Updates dataobjects.
 IEditResults updateAttachments2(String gdbVersion, int layerOrTableID, IAttachmentDataArray attachmentDataArray, boolean rollbackOnFailure)
          Updates Attachments.
 

Method Detail

add2

IEditResults add2(String gdbVersion,
                  int layerOrTableID,
                  IDataObjects dataObjects,
                  boolean rollbackOnFailure)
                  throws IOException,
                         AutomationException
add2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
dataObjects - A reference to a com.esri.arcgis.carto.IDataObjects (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addAttachments2

IEditResults addAttachments2(String gdbVersion,
                             int layerOrTableID,
                             IAttachmentDataArray attachmentDataArray,
                             boolean rollbackOnFailure)
                             throws IOException,
                                    AutomationException
addAttachments2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
attachmentDataArray - A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyEdits2

ITableEditResults applyEdits2(String gdbVersion,
                              ITableEdits tableEdits,
                              boolean rollbackOnFailure)
                              throws IOException,
                                     AutomationException
applyEdits2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
tableEdits - A reference to a com.esri.arcgis.carto.ITableEdits (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.ITableEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete2

void delete2(String gdbVersion,
             int layerOrTableID,
             String definitionExpression,
             boolean rollbackOnFailure,
             IQueryFilter queryFilter)
             throws IOException,
                    AutomationException
delete2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
definitionExpression - The definitionExpression (in)
rollbackOnFailure - The rollbackOnFailure (in)
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAttachments2

IEditResults deleteAttachments2(String gdbVersion,
                                int layerOrTableID,
                                ILongArray idsOfAttachmentsToDelete,
                                boolean rollbackOnFailure)
                                throws IOException,
                                       AutomationException
deleteAttachments2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
idsOfAttachmentsToDelete - A reference to a com.esri.arcgis.system.ILongArray (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByID2

IEditResults deleteByID2(String gdbVersion,
                         int layerOrTableID,
                         ILongArray idsOfObjectsToDelete,
                         boolean rollbackOnFailure)
                         throws IOException,
                                AutomationException
deleteByID2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
idsOfObjectsToDelete - A reference to a com.esri.arcgis.system.ILongArray (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount2

int getCount2(String gdbVersion,
              int layerOrTableID,
              String definitionExpression,
              IQueryFilter queryFilter)
              throws IOException,
                     AutomationException
getCount2

Product Availability

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

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

getServerInfo

IFeatureServerInfo getServerInfo()
                                 throws IOException,
                                        AutomationException
getServerInfo

Product Availability

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

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

getServiceObjectCount2

int getServiceObjectCount2(String gdbVersion,
                           IGFSTableDescriptions layerOrTableDescriptions,
                           IGeometry geometry)
                           throws IOException,
                                  AutomationException
getServiceObjectCount2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableDescriptions - A reference to a com.esri.arcgis.carto.IGFSTableDescriptions (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
The numObjects
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

query2

IServiceData query2(String gdbVersion,
                    int layerOrTableID,
                    String definitionExpression,
                    IQueryFilter queryFilter,
                    double maximumAllowableOffset,
                    IServiceDataOptions serviceDataOptions)
                    throws IOException,
                           AutomationException
query2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
definitionExpression - The definitionExpression (in)
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
maximumAllowableOffset - The maximumAllowableOffset (in)
serviceDataOptions - A reference to a com.esri.arcgis.carto.IServiceDataOptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IServiceData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAttachmentData2

IAttachmentDataArray queryAttachmentData2(String gdbVersion,
                                          int layerOrTableID,
                                          ILongArray attachmentIDs,
                                          int transportType)
                                          throws IOException,
                                                 AutomationException
queryAttachmentData2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
attachmentIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
transportType - A com.esri.arcgis.system.esriTransportType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAttachmentInfos2

IAttachmentInfoArray queryAttachmentInfos2(String gdbVersion,
                                           int layerOrTableID,
                                           ILongArray objectIDs)
                                           throws IOException,
                                                  AutomationException
queryAttachmentInfos2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
objectIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IAttachmentInfoArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryFromService2

IServiceData queryFromService2(String gdbVersion,
                               IGFSTableDescriptions layerOrTableDescriptions,
                               IGeometry geometry,
                               ISpatialReference outSR,
                               ITimeReference outTR,
                               double maximumAllowableOffset,
                               IServiceDataOptions serviceDataOptions)
                               throws IOException,
                                      AutomationException
queryFromService2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableDescriptions - A reference to a com.esri.arcgis.carto.IGFSTableDescriptions (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
outSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
outTR - A reference to a com.esri.arcgis.system.ITimeReference (in)
maximumAllowableOffset - The maximumAllowableOffset (in)
serviceDataOptions - A reference to a com.esri.arcgis.carto.IServiceDataOptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IServiceData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryIDs2

ILongArray queryIDs2(String gdbVersion,
                     int layerOrTableID,
                     String definitionExpression,
                     IQueryFilter queryFilter)
                     throws IOException,
                            AutomationException
queryIDs2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
definitionExpression - The definitionExpression (in)
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryHTMLPopups2

IStringArray queryHTMLPopups2(String gdbVersion,
                              int layerOrTableID,
                              ILongArray objectIDs)
                              throws IOException,
                                     AutomationException
Returns the html as text that can be used in popups.

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
objectIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryRelatedObjects2

IServiceData queryRelatedObjects2(String gdbVersion,
                                  int sourceLayerOrTableID,
                                  ILongArray objectIDsInSource,
                                  int relationshipID,
                                  String targetDefinitionExpression,
                                  String targetTableProps,
                                  boolean groupBySourceOIDs,
                                  ISpatialReference outSR,
                                  ITimeReference outTR,
                                  double maximumAllowableOffset,
                                  IServiceDataOptions serviceDataOptions)
                                  throws IOException,
                                         AutomationException
queryRelatedObjects2

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
sourceLayerOrTableID - The sourceLayerOrTableID (in)
objectIDsInSource - A reference to a com.esri.arcgis.system.ILongArray (in)
relationshipID - The relationshipID (in)
targetDefinitionExpression - The targetDefinitionExpression (in)
targetTableProps - The targetTableProps (in)
groupBySourceOIDs - The groupBySourceOIDs (in)
outSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
outTR - A reference to a com.esri.arcgis.system.ITimeReference (in)
maximumAllowableOffset - The maximumAllowableOffset (in)
serviceDataOptions - A reference to a com.esri.arcgis.carto.IServiceDataOptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IServiceData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update2

IEditResults update2(String gdbVersion,
                     int layerOrTableID,
                     IDataObjects dataObjects,
                     boolean rollbackOnFailure)
                     throws IOException,
                            AutomationException
Updates dataobjects.

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
dataObjects - A reference to a com.esri.arcgis.carto.IDataObjects (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateAttachments2

IEditResults updateAttachments2(String gdbVersion,
                                int layerOrTableID,
                                IAttachmentDataArray attachmentDataArray,
                                boolean rollbackOnFailure)
                                throws IOException,
                                       AutomationException
Updates Attachments.

Product Availability

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

Parameters:
gdbVersion - The gdbVersion (in)
layerOrTableID - The layerOrTableID (in)
attachmentDataArray - A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (in)
rollbackOnFailure - The rollbackOnFailure (in)
Returns:
A reference to a com.esri.arcgis.carto.IEditResults
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.