com.esri.arcgis.carto
Class GraphicFeatureServerLP

java.lang.Object
  extended by com.esri.arcgis.carto.GraphicFeatureServerLP
All Implemented Interfaces:
IGraphicFeatureServer, IGraphicFeatureServer2, IGraphicFeatureServerReplication, IAGSServerObject, IAGSServerObject2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GraphicFeatureServerLP
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObject2, IAGSServerObject, IGraphicFeatureServer, IGraphicFeatureServer2, IGraphicFeatureServerReplication

Graphic Feature Server LAN Proxy.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GraphicFeatureServerLP()
          Constructs a GraphicFeatureServerLP using ArcGIS Engine.
GraphicFeatureServerLP(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicFeatureServerLP theGraphicFeatureServerLP = (GraphicFeatureServerLP) obj;
 
Method Summary
 IEditResults add(int layerOrTableID, IDataObjects dataObjects)
          add
 IEditResults add2(String gdbVersion, int layerOrTableID, IDataObjects dataObjects, boolean rollbackOnFailure)
          add2
 IEditResults addAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          addAttachments
 IEditResults addAttachments2(String gdbVersion, int layerOrTableID, IAttachmentDataArray attachmentDataArray, boolean rollbackOnFailure)
          addAttachments2
 void alterReplica(IGPReplica replica)
          Alter the definition of a replica.
 ITableEditResults applyEdits(ITableEdits tableEdits)
          applyEdits
 ITableEditResults applyEdits2(String gdbVersion, ITableEdits tableEdits, boolean rollbackOnFailure)
          applyEdits2
 IGDSData createReplica(String replicaName, IGFSReplicaDescription replicaDescription, IGPReplicaOptions repOptions, IGDSExportOptions exportOptions, int transportType)
          Create Replica.
 void delete(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          delete
 void delete2(String gdbVersion, int layerOrTableID, String definitionExpression, boolean rollbackOnFailure, IQueryFilter queryFilter)
          delete2
 IEditResults deleteAttachments(int layerOrTableID, ILongArray idsOfAttachmentsToDelete)
          deleteAttachments
 IEditResults deleteAttachments2(String gdbVersion, int layerOrTableID, ILongArray idsOfAttachmentsToDelete, boolean rollbackOnFailure)
          deleteAttachments2
 IEditResults deleteByID(int layerOrTableID, ILongArray idsOfObjectsToDelete)
          deleteByID
 IEditResults deleteByID2(String gdbVersion, int layerOrTableID, ILongArray idsOfObjectsToDelete, boolean rollbackOnFailure)
          deleteByID2
 boolean equals(Object o)
          Compare this object with another
 IGDSData exportReplicaDataChanges(String replicaName, IGDSExportOptions options, int transportType)
          Exports data changes for a replica.
static String getClsid()
          getClsid.
 int getCount(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          getCount
 int getCount2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          getCount2
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 IGraphicFeatureLayers getLayers(IServerSymbolOutputOptions symbolOutputOptions)
          Yields layers.
 IGPReplicas getReplicas()
          The replicas in the workspace of the mxd document's data source.
 IFeatureServerInfo getServerInfo()
          getServerInfo
 int getServiceObjectCount(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry)
          getServiceObjectCount
 int getServiceObjectCount2(String gdbVersion, IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry)
          getServiceObjectCount2
 IDataObjectTables getTables(IServerSymbolOutputOptions symbolOutputOptions, boolean ignoreLayers)
          Yields tables/layers.
 int hashCode()
          the hashcode for this object
 boolean importReplicaDataChanges(int sourceType, int reconcilePolicy, IGDSData data)
          Import the data changes for a replica.
 IServiceData query(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter, IServiceDataOptions serviceDataOptions)
          query
 IServiceData query2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter, double maximumAllowableOffset, IServiceDataOptions serviceDataOptions)
          query2
 IAttachmentDataArray queryAttachmentData(int layerOrTableID, ILongArray attachmentIDs, int transportType)
          queryAttachmentData
 IAttachmentDataArray queryAttachmentData2(String gdbVersion, int layerOrTableID, ILongArray attachmentIDs, int transportType)
          queryAttachmentData2
 IAttachmentInfoArray queryAttachmentInfos(int layerOrTableID, ILongArray objectIDs)
          queryAttachmentInfos
 IAttachmentInfoArray queryAttachmentInfos2(String gdbVersion, int layerOrTableID, ILongArray objectIDs)
          queryAttachmentInfos2
 IServiceData queryFromService(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry, ISpatialReference outSR, ITimeReference outTR, IServiceDataOptions serviceDataOptions)
          queryFromService
 IServiceData queryFromService2(String gdbVersion, IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry, ISpatialReference outSR, ITimeReference outTR, double maximumAllowableOffset, IServiceDataOptions serviceDataOptions)
          queryFromService2
 IStringArray queryHTMLPopups(int layerOrTableID, ILongArray objectIDs)
          Returns the html as text that can be used in popups.
 IStringArray queryHTMLPopups2(String gdbVersion, int layerOrTableID, ILongArray objectIDs)
          Returns the html as text that can be used in popups.
 ILongArray queryIDs(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          queryIDs
 ILongArray queryIDs2(String gdbVersion, int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          queryIDs2
 IServiceData queryRelatedObjects(int sourceLayerOrTableID, ILongArray objectIDsInSource, int relationshipID, String targetDefinitionExpression, String targetTableProps, boolean groupBySourceOIDs, ISpatialReference outSR, ITimeReference outTR, IServiceDataOptions serviceDataOptions)
          queryRelatedObjects
 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
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 void unregisterReplica(String replicaName)
          Unregister the replica.
 IEditResults update(int layerOrTableID, IDataObjects dataObjects)
          Updates dataobjects.
 IEditResults update2(String gdbVersion, int layerOrTableID, IDataObjects dataObjects, boolean rollbackOnFailure)
          Updates dataobjects.
 IEditResults updateAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          Updates Attachments.
 IEditResults updateAttachments2(String gdbVersion, int layerOrTableID, IAttachmentDataArray attachmentDataArray, boolean rollbackOnFailure)
          Updates Attachments.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

GraphicFeatureServerLP

public GraphicFeatureServerLP()
                       throws IOException,
                              UnknownHostException
Constructs a GraphicFeatureServerLP using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GraphicFeatureServerLP

public GraphicFeatureServerLP(Object obj)
                       throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicFeatureServerLP theGraphicFeatureServerLP = (GraphicFeatureServerLP) obj;

Construct a GraphicFeatureServerLP using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GraphicFeatureServerLP.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getFullName

public IName getFullName()
                  throws IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Product Availability

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

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

setHttpTimeout

public void setHttpTimeout(int secs)
                    throws IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

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

Specified by:
setHttpTimeout in interface IAGSServerObject2
Parameters:
secs - The secs (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHttpTimeout

public int getHttpTimeout()
                   throws IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

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

Specified by:
getHttpTimeout in interface IAGSServerObject2
Returns:
The secs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

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

Product Availability

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

Specified by:
add in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
addAttachments in interface IGraphicFeatureServer
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

public ITableEditResults applyEdits(ITableEdits tableEdits)
                             throws IOException,
                                    AutomationException
applyEdits

Product Availability

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

Specified by:
applyEdits in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
delete in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
deleteAttachments in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
deleteByID in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
getCount in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
getLayers in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
getServiceObjectCount in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
getTables in interface IGraphicFeatureServer
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

public 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.

Specified by:
query in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
queryAttachmentData in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
queryAttachmentInfos in interface IGraphicFeatureServer
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

public 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.

Specified by:
queryFromService in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
queryIDs in interface IGraphicFeatureServer
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

public 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.

Specified by:
queryHTMLPopups in interface IGraphicFeatureServer
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

public 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.

Specified by:
queryRelatedObjects in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
update in interface IGraphicFeatureServer
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

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

Product Availability

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

Specified by:
updateAttachments in interface IGraphicFeatureServer
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.

add2

public 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.

Specified by:
add2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
addAttachments2 in interface IGraphicFeatureServer2
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

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

Product Availability

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

Specified by:
applyEdits2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
delete2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
deleteAttachments2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
deleteByID2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
getCount2 in interface IGraphicFeatureServer2
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

public IFeatureServerInfo getServerInfo()
                                 throws IOException,
                                        AutomationException
getServerInfo

Product Availability

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

Specified by:
getServerInfo in interface IGraphicFeatureServer2
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

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

Product Availability

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

Specified by:
getServiceObjectCount2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
query2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
queryAttachmentData2 in interface IGraphicFeatureServer2
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

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

Product Availability

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

Specified by:
queryAttachmentInfos2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
queryFromService2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
queryIDs2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
queryHTMLPopups2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
queryRelatedObjects2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
update2 in interface IGraphicFeatureServer2
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

public 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.

Specified by:
updateAttachments2 in interface IGraphicFeatureServer2
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.

createReplica

public IGDSData createReplica(String replicaName,
                              IGFSReplicaDescription replicaDescription,
                              IGPReplicaOptions repOptions,
                              IGDSExportOptions exportOptions,
                              int transportType)
                       throws IOException,
                              AutomationException
Create Replica.

Product Availability

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

Specified by:
createReplica in interface IGraphicFeatureServerReplication
Parameters:
replicaName - The replicaName (in)
replicaDescription - A reference to a com.esri.arcgis.carto.IGFSReplicaDescription (in)
repOptions - A reference to a com.esri.arcgis.geodatabase.IGPReplicaOptions (in)
exportOptions - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSExportOptions (in)
transportType - A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicas

public IGPReplicas getReplicas()
                        throws IOException,
                               AutomationException
The replicas in the workspace of the mxd document's data source.

Product Availability

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

Specified by:
getReplicas in interface IGraphicFeatureServerReplication
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplicas
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unregisterReplica

public void unregisterReplica(String replicaName)
                       throws IOException,
                              AutomationException
Unregister the replica.

Product Availability

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

Specified by:
unregisterReplica in interface IGraphicFeatureServerReplication
Parameters:
replicaName - The replicaName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportReplicaDataChanges

public IGDSData exportReplicaDataChanges(String replicaName,
                                         IGDSExportOptions options,
                                         int transportType)
                                  throws IOException,
                                         AutomationException
Exports data changes for a replica.

Product Availability

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

Specified by:
exportReplicaDataChanges in interface IGraphicFeatureServerReplication
Parameters:
replicaName - The replicaName (in)
options - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSExportOptions (in)
transportType - A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importReplicaDataChanges

public boolean importReplicaDataChanges(int sourceType,
                                        int reconcilePolicy,
                                        IGDSData data)
                                 throws IOException,
                                        AutomationException
Import the data changes for a replica.

Product Availability

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

Specified by:
importReplicaDataChanges in interface IGraphicFeatureServerReplication
Parameters:
sourceType - A com.esri.arcgis.geodatabasedistributed.esriGDSReplicaImportSource constant (in)
reconcilePolicy - A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
data - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData (in)
Returns:
The conflictsFound
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterReplica

public void alterReplica(IGPReplica replica)
                  throws IOException,
                         AutomationException
Alter the definition of a replica.

Product Availability

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

Specified by:
alterReplica in interface IGraphicFeatureServerReplication
Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.