com.esri.arcgis.carto
Interface IGraphicFeatureServer

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

public interface IGraphicFeatureServer
extends Serializable

Provides access to members of Graphic Feature Server.

Product Availability

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


Method Summary
 IEditResults add(int layerOrTableID, IDataObjects dataObjects)
          add
 IEditResults addAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          addAttachments
 ITableEditResults applyEdits(ITableEdits tableEdits)
          applyEdits
 void delete(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          delete
 IEditResults deleteAttachments(int layerOrTableID, ILongArray idsOfAttachmentsToDelete)
          deleteAttachments
 IEditResults deleteByID(int layerOrTableID, ILongArray idsOfObjectsToDelete)
          deleteByID
 int getCount(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          getCount
 IGraphicFeatureLayers getLayers(IServerSymbolOutputOptions symbolOutputOptions)
          Yields layers.
 int getServiceObjectCount(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry)
          getServiceObjectCount
 IDataObjectTables getTables(IServerSymbolOutputOptions symbolOutputOptions, boolean ignoreLayers)
          Yields layers.
 IServiceData query(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter, IServiceDataOptions serviceDataOptions)
          query
 IAttachmentDataArray queryAttachmentData(int layerOrTableID, ILongArray attachmentIDs, int transportType)
          queryAttachmentData
 IAttachmentInfoArray queryAttachmentInfos(int layerOrTableID, ILongArray objectIDs)
          queryAttachmentInfos
 IServiceData queryFromService(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry, ISpatialReference outSR, ITimeReference outTR, IServiceDataOptions serviceDataOptions)
          queryFromService
 IStringArray queryHTMLPopups(int layerOrTableID, ILongArray objectIDs)
          Returns the html as text that can be used in popups.
 ILongArray queryIDs(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          queryIDs
 IServiceData queryRelatedObjects(int sourceLayerOrTableID, ILongArray objectIDsInSource, int relationshipID, String targetDefinitionExpression, String targetTableProps, boolean groupBySourceOIDs, ISpatialReference outSR, ITimeReference outTR, IServiceDataOptions serviceDataOptions)
          queryRelatedObjects
 IEditResults update(int layerOrTableID, IDataObjects dataObjects)
          Updates dataobjects.
 IEditResults updateAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          Updates Attachments.
 

Method Detail

add

IEditResults add(int layerOrTableID,
                 IDataObjects dataObjects)
                 throws IOException,
                        AutomationException
add

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
dataObjects - A reference to a com.esri.arcgis.carto.IDataObjects (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.

addAttachments

IEditResults addAttachments(int layerOrTableID,
                            IAttachmentDataArray attachmentDataArray)
                            throws IOException,
                                   AutomationException
addAttachments

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
attachmentDataArray - A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (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.

applyEdits

ITableEditResults applyEdits(ITableEdits tableEdits)
                             throws IOException,
                                    AutomationException
applyEdits

Product Availability

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

Parameters:
tableEdits - A reference to a com.esri.arcgis.carto.ITableEdits (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.

delete

void delete(int layerOrTableID,
            String definitionExpression,
            IQueryFilter queryFilter)
            throws IOException,
                   AutomationException
delete

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
definitionExpression - The definitionExpression (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.

deleteAttachments

IEditResults deleteAttachments(int layerOrTableID,
                               ILongArray idsOfAttachmentsToDelete)
                               throws IOException,
                                      AutomationException
deleteAttachments

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
idsOfAttachmentsToDelete - A reference to a com.esri.arcgis.system.ILongArray (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.

deleteByID

IEditResults deleteByID(int layerOrTableID,
                        ILongArray idsOfObjectsToDelete)
                        throws IOException,
                               AutomationException
deleteByID

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
idsOfObjectsToDelete - A reference to a com.esri.arcgis.system.ILongArray (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.

getCount

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

Product Availability

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

Parameters:
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.

getLayers

IGraphicFeatureLayers getLayers(IServerSymbolOutputOptions symbolOutputOptions)
                                throws IOException,
                                       AutomationException
Yields layers.

Product Availability

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

Parameters:
symbolOutputOptions - A reference to a com.esri.arcgis.carto.IServerSymbolOutputOptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IGraphicFeatureLayers
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceObjectCount

int getServiceObjectCount(IGFSTableDescriptions layerOrTableDescriptions,
                          IGeometry geometry)
                          throws IOException,
                                 AutomationException
getServiceObjectCount

Product Availability

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

Parameters:
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.

getTables

IDataObjectTables getTables(IServerSymbolOutputOptions symbolOutputOptions,
                            boolean ignoreLayers)
                            throws IOException,
                                   AutomationException
Yields layers.

Product Availability

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

Parameters:
symbolOutputOptions - A reference to a com.esri.arcgis.carto.IServerSymbolOutputOptions (in)
ignoreLayers - The ignoreLayers (in)
Returns:
A reference to a com.esri.arcgis.carto.IDataObjectTables
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

query

IServiceData query(int layerOrTableID,
                   String definitionExpression,
                   IQueryFilter queryFilter,
                   IServiceDataOptions serviceDataOptions)
                   throws IOException,
                          AutomationException
query

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
definitionExpression - The definitionExpression (in)
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (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.

queryAttachmentData

IAttachmentDataArray queryAttachmentData(int layerOrTableID,
                                         ILongArray attachmentIDs,
                                         int transportType)
                                         throws IOException,
                                                AutomationException
queryAttachmentData

Product Availability

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

Parameters:
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.

queryAttachmentInfos

IAttachmentInfoArray queryAttachmentInfos(int layerOrTableID,
                                          ILongArray objectIDs)
                                          throws IOException,
                                                 AutomationException
queryAttachmentInfos

Product Availability

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

Parameters:
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.

queryFromService

IServiceData queryFromService(IGFSTableDescriptions layerOrTableDescriptions,
                              IGeometry geometry,
                              ISpatialReference outSR,
                              ITimeReference outTR,
                              IServiceDataOptions serviceDataOptions)
                              throws IOException,
                                     AutomationException
queryFromService

Product Availability

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

Parameters:
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)
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.

queryIDs

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

Product Availability

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

Parameters:
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.

queryHTMLPopups

IStringArray queryHTMLPopups(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:
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.

queryRelatedObjects

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

Product Availability

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

Parameters:
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)
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.

update

IEditResults update(int layerOrTableID,
                    IDataObjects dataObjects)
                    throws IOException,
                           AutomationException
Updates dataobjects.

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
dataObjects - A reference to a com.esri.arcgis.carto.IDataObjects (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.

updateAttachments

IEditResults updateAttachments(int layerOrTableID,
                               IAttachmentDataArray attachmentDataArray)
                               throws IOException,
                                      AutomationException
Updates Attachments.

Product Availability

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

Parameters:
layerOrTableID - The layerOrTableID (in)
attachmentDataArray - A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (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.