com.esri.arcgis.carto
Class GraphicFeatureServer

java.lang.Object
  extended by com.esri.arcgis.carto.GraphicFeatureServer
All Implemented Interfaces:
IGraphicFeatureServer, IGraphicFeatureServerReplication, com.esri.arcgis.interop.RemoteObjRef, IServerObjectExtension, ILogSupport, IObjectActivate, IObjectConstruct, IRequestHandler, IRequestHandler2, ISupportErrorInfo, Serializable

public class GraphicFeatureServer
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerObjectExtension, IObjectConstruct, IRequestHandler, IRequestHandler2, IObjectActivate, IGraphicFeatureServer, IGraphicFeatureServerReplication, ILogSupport, ISupportErrorInfo

The Graphic Feature Server component provides programmatic access to the Graphic Features.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IRequestHandler
IID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IObjectActivate
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy
 
Constructor Summary
GraphicFeatureServer()
          Constructs a GraphicFeatureServer using ArcGIS Engine.
GraphicFeatureServer(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicFeatureServer theGraphicFeatureServer = (GraphicFeatureServer) obj;
 
Method Summary
 void activate()
          Activates the object.
 IEditResults add(int layerOrTableID, IDataObjects dataObjects)
          add
 IEditResults addAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          addAttachments
 void alterReplica(IGPReplica replica)
          Alter the definition of a replica.
 ITableEditResults applyEdits(ITableEdits tableEdits)
          applyEdits
 void construct(IPropertySet props)
          Two phase object construction.
 IGDSData createReplica(String replicaName, IGFSReplicaDescription replicaDescription, IGPReplicaOptions repOptions, IGDSExportOptions exportOptions, int transportType)
          Create Replica.
 void deactivate()
          Deactivates the object.
 void delete(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter)
          delete
 IEditResults deleteAttachments(int layerOrTableID, ILongArray idsOfAttachmentsToDelete)
          deleteAttachments
 IEditResults deleteByID(int layerOrTableID, ILongArray idsOfObjectsToDelete)
          deleteByID
 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
 IGraphicFeatureLayers getLayers(IServerSymbolOutputOptions symbolOutputOptions)
          Yields layers.
 IGPReplicas getReplicas()
          The replicas in the workspace of the mxd document's data source.
 int getServiceObjectCount(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry)
          getServiceObjectCount
 IDataObjectTables getTables(IServerSymbolOutputOptions symbolOutputOptions, boolean ignoreLayers)
          Yields layers.
 byte[] handleBinaryRequest(byte[] request)
          Handles a binary request.
 byte[] handleBinaryRequest2(String capabilities, byte[] request)
          Handles a binary request with explicit capabilities.
 String handleStringRequest(String capabilities, String request)
          Handles a SOAP string request.
 int hashCode()
          the hashcode for this object
 boolean importReplicaDataChanges(int sourceType, int reconcilePolicy, IGDSData data)
          Import the data changes for a replica.
 void init(IServerObjectHelper pSOH)
          Initializes and starts the server object specified by the IServerObjectHelper reference.
 void initLogging(ILog log)
          Initializes an object with a log.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 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
 void shutdown()
          Stops the server object specified by the IServerObjectHelper reference.
 void unregisterReplica(String replicaName)
          Unregister the replica.
 IEditResults update(int layerOrTableID, IDataObjects dataObjects)
          Updates dataobjects.
 IEditResults updateAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray)
          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

GraphicFeatureServer

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

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

GraphicFeatureServer

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

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

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

init

public void init(IServerObjectHelper pSOH)
          throws IOException,
                 AutomationException
Initializes and starts the server object specified by the IServerObjectHelper reference.

Product Availability

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

Specified by:
init in interface IServerObjectExtension
Parameters:
pSOH - A reference to a com.esri.arcgis.server.IServerObjectHelper (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws IOException,
                     AutomationException
Stops the server object specified by the IServerObjectHelper reference.

Product Availability

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

Specified by:
shutdown in interface IServerObjectExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

construct

public void construct(IPropertySet props)
               throws IOException,
                      AutomationException
Two phase object construction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
construct in interface IObjectConstruct
Parameters:
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleBinaryRequest

public byte[] handleBinaryRequest(byte[] request)
                           throws IOException,
                                  AutomationException
Handles a binary request.

Specified by:
handleBinaryRequest in interface IRequestHandler
Parameters:
request - An unsigned byte (in)
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleStringRequest

public String handleStringRequest(String capabilities,
                                  String request)
                           throws IOException,
                                  AutomationException
Handles a SOAP string request.

Specified by:
handleStringRequest in interface IRequestHandler
Parameters:
capabilities - The capabilities (in)
request - The request (in)
Returns:
The response
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleBinaryRequest2

public byte[] handleBinaryRequest2(String capabilities,
                                   byte[] request)
                            throws IOException,
                                   AutomationException
Handles a binary request with explicit capabilities.

Product Availability

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

Specified by:
handleBinaryRequest2 in interface IRequestHandler2
Parameters:
capabilities - The capabilities (in)
request - An unsigned byte (in)
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate()
              throws IOException,
                     AutomationException
Activates the object.

Specified by:
activate in interface IObjectActivate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws IOException,
                       AutomationException
Deactivates the object.

Specified by:
deactivate in interface IObjectActivate
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 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.

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.

initLogging

public void initLogging(ILog log)
                 throws IOException,
                        AutomationException
Initializes an object with a log.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
initLogging in interface ILogSupport
Parameters:
log - A reference to a com.esri.arcgis.system.ILog (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.