|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.GraphicFeatureServer
public class GraphicFeatureServer
The Graphic Feature Server component provides programmatic access to the Graphic Features.
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 |
---|
public GraphicFeatureServer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GraphicFeatureServer(Object obj) throws IOException
GraphicFeatureServer theGraphicFeatureServer = (GraphicFeatureServer) obj;
obj
to GraphicFeatureServer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void init(IServerObjectHelper pSOH) throws IOException, AutomationException
init
in interface IServerObjectExtension
pSOH
- A reference to a com.esri.arcgis.server.IServerObjectHelper (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IServerObjectExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void construct(IPropertySet props) throws IOException, AutomationException
construct
in interface IObjectConstruct
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest(byte[] request) throws IOException, AutomationException
handleBinaryRequest
in interface IRequestHandler
request
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String handleStringRequest(String capabilities, String request) throws IOException, AutomationException
handleStringRequest
in interface IRequestHandler
capabilities
- The capabilities (in)request
- The request (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest2(String capabilities, byte[] request) throws IOException, AutomationException
handleBinaryRequest2
in interface IRequestHandler2
capabilities
- The capabilities (in)request
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate() throws IOException, AutomationException
activate
in interface IObjectActivate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws IOException, AutomationException
deactivate
in interface IObjectActivate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults add(int layerOrTableID, IDataObjects dataObjects) throws IOException, AutomationException
add
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)dataObjects
- A reference to a com.esri.arcgis.carto.IDataObjects (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults addAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray) throws IOException, AutomationException
addAttachments
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)attachmentDataArray
- A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableEditResults applyEdits(ITableEdits tableEdits) throws IOException, AutomationException
applyEdits
in interface IGraphicFeatureServer
tableEdits
- A reference to a com.esri.arcgis.carto.ITableEdits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter) throws IOException, AutomationException
delete
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)definitionExpression
- The definitionExpression (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults deleteAttachments(int layerOrTableID, ILongArray idsOfAttachmentsToDelete) throws IOException, AutomationException
deleteAttachments
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)idsOfAttachmentsToDelete
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults deleteByID(int layerOrTableID, ILongArray idsOfObjectsToDelete) throws IOException, AutomationException
deleteByID
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)idsOfObjectsToDelete
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter) throws IOException, AutomationException
getCount
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)definitionExpression
- The definitionExpression (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGraphicFeatureLayers getLayers(IServerSymbolOutputOptions symbolOutputOptions) throws IOException, AutomationException
getLayers
in interface IGraphicFeatureServer
symbolOutputOptions
- A reference to a com.esri.arcgis.carto.IServerSymbolOutputOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getServiceObjectCount(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry) throws IOException, AutomationException
getServiceObjectCount
in interface IGraphicFeatureServer
layerOrTableDescriptions
- A reference to a com.esri.arcgis.carto.IGFSTableDescriptions (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataObjectTables getTables(IServerSymbolOutputOptions symbolOutputOptions, boolean ignoreLayers) throws IOException, AutomationException
getTables
in interface IGraphicFeatureServer
symbolOutputOptions
- A reference to a com.esri.arcgis.carto.IServerSymbolOutputOptions (in)ignoreLayers
- The ignoreLayers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServiceData query(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter, IServiceDataOptions serviceDataOptions) throws IOException, AutomationException
query
in interface IGraphicFeatureServer
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAttachmentDataArray queryAttachmentData(int layerOrTableID, ILongArray attachmentIDs, int transportType) throws IOException, AutomationException
queryAttachmentData
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)attachmentIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)transportType
- A com.esri.arcgis.system.esriTransportType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAttachmentInfoArray queryAttachmentInfos(int layerOrTableID, ILongArray objectIDs) throws IOException, AutomationException
queryAttachmentInfos
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)objectIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServiceData queryFromService(IGFSTableDescriptions layerOrTableDescriptions, IGeometry geometry, ISpatialReference outSR, ITimeReference outTR, IServiceDataOptions serviceDataOptions) throws IOException, AutomationException
queryFromService
in interface IGraphicFeatureServer
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray queryIDs(int layerOrTableID, String definitionExpression, IQueryFilter queryFilter) throws IOException, AutomationException
queryIDs
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)definitionExpression
- The definitionExpression (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray queryHTMLPopups(int layerOrTableID, ILongArray objectIDs) throws IOException, AutomationException
queryHTMLPopups
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)objectIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
in interface IGraphicFeatureServer
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults update(int layerOrTableID, IDataObjects dataObjects) throws IOException, AutomationException
update
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)dataObjects
- A reference to a com.esri.arcgis.carto.IDataObjects (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEditResults updateAttachments(int layerOrTableID, IAttachmentDataArray attachmentDataArray) throws IOException, AutomationException
updateAttachments
in interface IGraphicFeatureServer
layerOrTableID
- The layerOrTableID (in)attachmentDataArray
- A reference to a com.esri.arcgis.geodatabase.IAttachmentDataArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGDSData createReplica(String replicaName, IGFSReplicaDescription replicaDescription, IGPReplicaOptions repOptions, IGDSExportOptions exportOptions, int transportType) throws IOException, AutomationException
createReplica
in interface IGraphicFeatureServerReplication
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPReplicas getReplicas() throws IOException, AutomationException
getReplicas
in interface IGraphicFeatureServerReplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unregisterReplica(String replicaName) throws IOException, AutomationException
unregisterReplica
in interface IGraphicFeatureServerReplication
replicaName
- The replicaName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGDSData exportReplicaDataChanges(String replicaName, IGDSExportOptions options, int transportType) throws IOException, AutomationException
exportReplicaDataChanges
in interface IGraphicFeatureServerReplication
replicaName
- The replicaName (in)options
- A reference to a com.esri.arcgis.geodatabasedistributed.IGDSExportOptions (in)transportType
- A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean importReplicaDataChanges(int sourceType, int reconcilePolicy, IGDSData data) throws IOException, AutomationException
importReplicaDataChanges
in interface IGraphicFeatureServerReplication
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void alterReplica(IGPReplica replica) throws IOException, AutomationException
alterReplica
in interface IGraphicFeatureServerReplication
replica
- A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initLogging(ILog log) throws IOException, AutomationException
initLogging
in interface ILogSupport
log
- A reference to a com.esri.arcgis.system.ILog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |