|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MapServer
public class MapServer
COM Class 'MapServer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The MapServer component provides programmatic access to the contents of a map document on disk, and creates images of the map contents based on user requests. Designed for use in building map-based web services and web applications.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IMapServer |
---|
IID, IID12353e37_ab79_48f7_9cb1_56ec9d7eb800, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.ITiledMapServer2 |
---|
IID, IIDb5339959_b276_4485_ac86_15f3a9a40395, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.ITiledMapServer |
---|
IID1627ce7e_954f_4013_9969_e726f8084c25 |
Fields inherited from interface com.esri.arcgis.carto.ITiledMapServer3 |
---|
IID, IID6c3d86d9_e02d_403f_94c2_427c5cf78c19, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IRequestHandler2 |
---|
IID, IID8319e7d0_8ad1_48ed_aa99_03f9d0c93ba8, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IRequestHandler |
---|
IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb |
Fields inherited from interface com.esri.arcgis.carto.IMapServerObjects |
---|
IID, IID651521f3_aaff_42b9_8c2d_1980625a13bf, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerObjects2 |
---|
IID, IID732da8b0_beb9_49b6_bf83_c1df94f22aa0, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerObjects3 |
---|
IID, IIDfbf3935d_72da_43a3_afc0_56f124e30773, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerData |
---|
IID, IIDaddaef3b_870a_4e9d_9ab0_242a72c3f812, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerLayout |
---|
IID, IID545329c0_300b_46f3_9fb3_71f30ecfde62, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerInit2 |
---|
IID, IIDed28c857_2ca2_47cc_8cad_5c90bc2fc012, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerInit |
---|
IID56e179e3_974e_41a7_836b_c9a60ef6301b |
Fields inherited from interface com.esri.arcgis.system.IObjectActivate |
---|
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IObjectUpdate |
---|
IID, IIDd641f414_1004_4e73_9386_f6ea543e2d95, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObject |
---|
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObjectExtensionManager |
---|
IID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServer2 |
---|
IID, IIDa96fc7c0_57f7_4fc1_993a_4913b2ced0ed, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServer3 |
---|
IID, IID58a70e5d_f883_4919_b573_cabaf849a7ce, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfigurationManager2 |
---|
IID, IID3130f209_598d_4269_b404_df6b13804742, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfigurationManager |
---|
IID181f5a7e_25c9_4fbf_9166_75d638acc930 |
Fields inherited from interface com.esri.arcgis.system.IObjectValidate |
---|
IID, IID55446beb_10ca_40a4_9f40_261ca4a7f35a, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapServerDataAccess |
---|
IID, IIDa3072b50_65e2_4035_b438_8363edd349c0, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IRESTRequestHandler |
---|
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy |
Constructor Summary | |
---|---|
MapServer()
Constructs a MapServer using ArcGIS Engine. |
|
MapServer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MapServer theMapServer = (MapServer) obj; |
Method Summary | |
---|---|
void |
activate()
Activates the object. |
void |
applyMapDescription(IMapDescription mapDescription,
IImageDisplay mapDisplay)
Applies the current state of the map description to the map server object. |
void |
beforeStart(IServerObjectAdmin pAdmin,
IPropertySet props)
Is called before the configuration is started. |
void |
beforeStop(IServerObjectAdmin pAdmin,
IPropertySet props)
Is called before the configuration is stopped. |
double |
computeDistance(java.lang.String mapName,
IPoint fromPoint,
IPoint toPoint,
int units)
Computes the distance between two points on the specified map. |
double |
computeScale(IMapDescription mapDesc,
IImageDisplay mapDisplay)
Computes the scale of the specified map, at the given map extent, for an image with the given size. |
void |
connect(java.lang.String filePath)
Initializes the map server with an mxd or pmf file stored at the specified path. |
void |
construct(IPropertySet props)
Two phase object construction. |
void |
deactivate()
Deactivates the object. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
ILayoutImage |
exportLayout(IPageDescription pageDesc,
IImageDescription imageDesc)
Generates an image of the layout, based on the given page description object, and writes the image to a specified file on disk. |
IImageResult |
exportLegend(ILegend legend,
IMapDescription mapDesc,
IImageDisplay pMapDisplay,
IColor backgroundColor,
IImageDescription imageDesc)
Exports a legend to an image file. |
IMapImage |
exportMapImage(IMapDescription mapDesc,
IImageDescription imageDesc)
Generates an image of the map, based on the given map description, and writes the image to a specified file on disk. |
IImageResult |
exportNorthArrow(INorthArrow arrow,
IMapDescription mapDesc,
IColor backgroundColor,
IImageDescription imageDesc)
Exports a north arrow to an image file. |
IImageResult |
exportScaleBar(IScaleBar scalebar,
IMapDescription mapDesc,
IImageDisplay pMapDisplay,
IColor backgroundColor,
IImageDescription imageDesc)
Exports a scale bar to an image file. |
IMapServerFindResults |
find(IMapDescription mapDesc,
IImageDisplay mapImage,
java.lang.String searchString,
boolean contains,
java.lang.String searchFields,
int option,
ILongArray layerIds)
Returns a collection of Map Server Find Result objects that contain the given search string. |
IServerObjectExtension |
findExtensionByCLSID(java.lang.String cLSID)
Returns a server object extension found using a string representation of its class ID. |
IServerObjectExtension |
findExtensionByTypeName(java.lang.String name)
Returns a server object extension found using its type name. |
void |
fromMapPoints(IMapDescription mapDescription,
IImageDisplay mapDisplay,
IPointCollection mapPoints,
ILongArray[] screenXValues,
ILongArray[] screenYValues)
Converts a map coordinate to a screen location. |
void |
fromPagePoints(IEnvelope pageExtent,
IImageDisplay pageDisplay,
IPointCollection pagePoints,
ILongArray[] screenXValues,
ILongArray[] screenYValues)
Converts a page coordinate to a screen location. |
ICacheControlInfo |
getCacheControlInfo(java.lang.String mapName)
Gets the cache description information for a given map. |
ICacheDescriptionInfo |
getCacheDescriptionInfo(java.lang.String mapName)
Gets the cache description information for a given map. |
java.lang.String |
getCacheName(java.lang.String mapName,
int layerID)
Gets the cache name for a given layer within a map. |
ICacheStorageInfo |
getCacheStorageInfo(java.lang.String mapName)
Gets the cache storage information. |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getConfigurationName()
Name of the server object configuration that defines the server object. |
java.lang.Object |
getDataSource(java.lang.String mapName,
int layerID)
Get Data Source |
ILayerDrawingDescriptions |
getDefaultLayerDrawingDescriptions(java.lang.String mapName,
ILongArray pLayerIDs,
IServerSymbolOutputOptions outputOptions)
Get Layer Drawing Description |
java.lang.String |
getDefaultMapName()
Name of the document's active map (data frame). |
IPageDescription |
getDefaultPageDescription()
The default page settings. |
java.lang.Object |
getDisplayDataSource(java.lang.String mapName,
int layerOrTableID)
Get Display Data Source |
IPropertySet |
getDocumentInfo()
A set of name-value pairs for properties set for the map document (mxd only). |
IFeature |
getFeature(java.lang.String mapName,
int layerID,
int featureId)
Returns a feature, given the feature ID and layer. |
java.lang.String |
getFeatureValue(java.lang.String mapName,
int layerID,
IFeature feature,
java.lang.String fieldName)
Returns the value of a given feature as a string. |
java.lang.String |
getFilePath()
The map document path. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ILayer |
getLayer(java.lang.String mapName,
int layerID)
The layer specified by the map name and layer ID. |
int |
getLayerID(java.lang.String mapName,
ILayer pLayer)
The layer specified by the map name and layer ID. |
byte[] |
getLayerTile(java.lang.String mapName,
int layerID,
int level,
int row,
int column)
Gets a tile for a given tile location from a given layer. |
byte[] |
getLayerTileEx(java.lang.String mapName,
int layerID,
int level,
int row,
int column,
int cacheFormat)
Gets a tile for a given tile location from a given layer. |
IMapServerLegendInfos |
getLegendInfo(java.lang.String mapName,
ILongArray layerIds,
IMapServerLegendPatch patch,
IImageType imgType)
Returns a collection of Map Server Legend Info objects for the specified layers. |
IMap |
getMap(java.lang.String mapName)
The map corresponding to the specified map name. |
int |
getMapCount()
The number of maps (data frames) in the document. |
java.lang.String |
getMapName(int index)
Name of the map (data frame) as indicated by the index. |
IMapTableSubtypeInfos |
getMapTableSubtypeInfos(java.lang.String mapName,
ILongArray pTableIDs)
Returns the MapTableSubtypeInfos in the current map. |
byte[] |
getMapTile(java.lang.String mapName,
int level,
int row,
int column)
Gets a tile for a given tile location from a given map. |
byte[] |
getMapTileEx(java.lang.String mapName,
int level,
int row,
int column,
int cacheFormat)
Gets a tile for a given tile location from a given map. |
int |
getMaxBufferCount()
The maximum number of records buffered on the server for display. |
int |
getMaxImageHeight()
The maximum height in pixels of an image request. |
int |
getMaxImageWidth()
The maximum width in pixels of an image request. |
int |
getMaxRecordCount()
The maximum number of records returned for query results (Identify, Find, QueryFeatureData, and QueryHyperlinks). |
IPageLayout |
getPageLayout()
The page layout object for the current map document. |
java.lang.String |
getPhysicalCacheDirectory()
The physical directory for cache files. |
java.lang.String |
getPhysicalOutputDirectory()
The physical directory for output files. |
java.lang.String |
getSchema()
This method returns the resource hierarchy of a REST based SOE. |
IMapServerInfo |
getServerInfo(java.lang.String mapName)
Returns information about a map (data frame). |
IPropertySet |
getServiceConfigurationInfo()
A set of name-value pairs for properties set for the MapServer Service Configuration Restrictions. |
java.lang.String |
getSOMCacheDirectory()
The parent directory for cache files. |
java.lang.String |
getSOMVirtualCacheDirectory()
The parent virtual directory for cache files. |
ISQLSyntaxInfo |
getSQLSyntaxInfo(java.lang.String mapName,
int layerID)
Returns the SQL syntax information for the specified layer. |
ITable |
getStandaloneTable(java.lang.String mapName,
int standaloneTableID)
The table specified by the map name and table ID. |
int |
getStandaloneTableID(java.lang.String mapName,
ITable pTable)
The layer specified by the map name and standalone table ID. |
int |
getSupportedImageReturnTypes()
The supported image return types for the map server. |
Picture |
getThumbnail()
The thumbnail stored in the map document. |
ITileCacheInfo |
getTileCacheInfo(java.lang.String mapName)
Gets the cache configuration for a given map. |
ITileImageInfo |
getTileImageInfo(java.lang.String mapName)
Gets the cache tile image information for a given map. |
java.lang.String |
getTypeName()
Type of the server object (MapServer or GeocodeServer). |
java.lang.String |
getVirtualCacheDirectory()
The virtual directory for cache files. |
java.lang.String |
getVirtualCacheDirectory(java.lang.String mapName,
int layerID)
Gets the virtual cache directory for a given layer within a map. |
java.lang.String |
getVirtualOutputDirectory()
The virtual directory for output files. |
byte[] |
handleBinaryRequest(byte[] request)
Handles a binary request. |
byte[] |
handleBinaryRequest2(java.lang.String capabilities,
byte[] request)
Handles a binary request with explicit capabilities. |
byte[] |
handleRESTRequest(java.lang.String capabilities,
java.lang.String resourceName,
java.lang.String operationName,
java.lang.String operationInput,
java.lang.String outputFormat,
java.lang.String requestProperties,
java.lang.String[] responseProperties)
Handles REST requests for SOE. |
java.lang.String |
handleStringRequest(java.lang.String capabilities,
java.lang.String request)
Handles a SOAP string request. |
int |
hashCode()
the hashcode for this object |
boolean |
hasLayerCache(java.lang.String mapName,
int layerID)
Indicates if a given layer has a single tile cache. |
boolean |
hasSingleFusedMapCache(java.lang.String mapName)
Indicates if a given map has a single fused map tile cache. |
IMapServerIdentifyResults |
identify(IMapDescription mapDesc,
IImageDisplay mapImage,
IGeometry searchShape,
int tolerance,
int option,
ILongArray layerIds)
Returns a collection of Map Server Identify Result objects at the given location. |
void |
initLogging(ILog log)
Initializes an object with a log. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isFixedScaleMap(java.lang.String mapName)
Indicates if a given map is a fixed scale map. |
IPropertySet |
onAdd(IPropertySet pProps)
Is called when the configuration is added. |
void |
onRemove()
Is called when the configuration is removed. |
void |
onRemoveEx(IServerObjectAdmin pAdmin,
IPropertySet props)
Is called when the configuration is removed. |
void |
onStart(IServerObjectAdmin pAdmin,
IPropertySet pProps)
Is called when the configuration is started. |
void |
onStop(IServerObjectAdmin pAdmin,
IPropertySet pProps)
Is called when the configuration is stopped. |
IAttachmentDataArray |
queryAttachmentData(java.lang.String mapName,
int tableID,
ILongArray attachmentIDs,
int transportType)
Returns the attachment data for the given features/ rows. |
IAttachmentInfoArray |
queryAttachmentInfos(java.lang.String mapName,
int tableID,
ILongArray rowIDs)
Returns the attachment info that describe the attachments for the given features/ rows. |
IQueryResult |
queryData(java.lang.String mapName,
IMapTableDescription pMapTableDescription,
IQueryFilter filter,
IQueryResultOptions options)
Returns a record set of rows that meet the query filter selection criteria for the specified table. |
int |
queryFeatureCount(java.lang.String mapName,
int layerID,
IQueryFilter filter)
Returns the count of the features that meet the query filter selection criteria for the specified layer. |
int |
queryFeatureCount2(java.lang.String mapName,
ILayerDescription pLayerDescription,
IQueryFilter filter)
Returns the count of the features that meet the query filter selection criteria for the specified layer. |
IRecordSet |
queryFeatureData(java.lang.String mapName,
int layerID,
IQueryFilter filter)
Returns a record set of features that meet the query filter selection criteria for the specified layer. |
IQueryResult |
queryFeatureData2(java.lang.String mapName,
ILayerDescription pLayerDesciscription,
IQueryFilter filter,
IQueryResultOptions options)
Returns a record set of features that meet the query filter selection criteria for the specified layer. |
IFIDSet |
queryFeatureIDs(java.lang.String mapName,
int layerID,
IQueryFilter filter)
Returns the IDs of the features that meet the query filter selection criteria for the specified layer. |
IFIDSet |
queryFeatureIDs2(java.lang.String mapName,
ILayerDescription pLayerDesciscription,
IQueryFilter filter)
Returns the IDs of the features that meet the query filter selection criteria for the specified layer. |
IStringArray |
queryHTMLPopups(java.lang.String mapName,
int tableID,
ILongArray pRowIDs)
Returns the html as text that can be used in popups. |
IMapServerHyperlinks |
queryHyperlinks(IMapDescription mapDesc,
IImageDisplay mapImage,
ILongArray layerIds)
Returns a collection of Map Server Hyperlink objects for the specified layers. |
IImageResults |
queryRasterValue(java.lang.String mapName,
int sourceTableID,
ILongArray rowIDs,
java.lang.String fieldName,
IImageType rasterValueType)
Returns the Raster content that meet the selection criteria for the specified table. |
IQueryResult |
queryRelatedRecords(java.lang.String mapName,
int sourceTable,
IFIDSet pFIDs,
IRelateDescription relateDescription)
Returns the IDs of the rows that meet the query filter selection criteria for the specified table. |
int |
queryRowCount(java.lang.String mapName,
IMapTableDescription pTableDescription,
IQueryFilter pFilter)
Returns the count of the rows that meet the query filter selection criteria for the specified table. |
ILongArray |
queryRowIDs(java.lang.String mapName,
IMapTableDescription pTableDescription,
IQueryFilter pFilter)
Returns the IDs of the rows that meet the query filter selection criteria for the specified table. |
void |
refreshServerObjects()
Updates the server info based on the current state of the underlying fine-grained objects. |
void |
release()
Release a MapServer. |
void |
setMaxBufferCount(int count)
The maximum number of records buffered on the server for display. |
void |
setMaxImageHeight(int height)
The maximum height in pixels of an image request. |
void |
setMaxImageWidth(int width)
The maximum width in pixels of an image request. |
void |
setMaxRecordCount(int count)
The maximum number of records returned for query results (Identify, Find, QueryFeatureData, and QueryHyperlinks). |
void |
setPhysicalCacheDirectory(java.lang.String pCacheDir)
The physical directory for cache files. |
void |
setPhysicalOutputDirectory(java.lang.String dirPath)
The physical directory for output files. |
void |
setSOMCacheDirectory(java.lang.String pCacheDir)
The parent directory for cache files. |
void |
setVirtualCacheDirectory(java.lang.String pVirtualCacheDir)
The virtual directory for cache files. |
void |
setVirtualOutputDirectory(java.lang.String dirPath)
The virtual directory for output files. |
void |
startWithData(IDataset pDataset)
An alternative to calling Connect(). |
void |
stop()
Clears out all of the map objects in memory. |
IPointCollection |
toMapPoints(IMapDescription mapDescription,
IImageDisplay mapDisplay,
ILongArray screenXValues,
ILongArray screenYValues)
Converts a screen location to a map coordinate. |
IPointCollection |
toPagePoints(IEnvelope pageExtent,
IImageDisplay pageDisplay,
ILongArray screenXValues,
ILongArray screenYValues)
Converts a screen location to a page coordinate. |
void |
update(IPropertySet props)
Updates object's properties. |
void |
validate(IPropertySet props)
Validates an object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapServer() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MapServer(java.lang.Object obj) throws java.io.IOException
MapServer theMapServer = (MapServer) obj;
obj
to MapServer
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IPropertySet getDocumentInfo() throws java.io.IOException, AutomationException
getDocumentInfo
in interface IMapServer
getDocumentInfo
in interface IMapServer2
getDocumentInfo
in interface IMapServer3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IMapServer
getMapCount
in interface IMapServer2
getMapCount
in interface IMapServer3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMapName(int index) throws java.io.IOException, AutomationException
getMapName
in interface IMapServer
getMapName
in interface IMapServer2
getMapName
in interface IMapServer3
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultMapName() throws java.io.IOException, AutomationException
getDefaultMapName
in interface IMapServer
getDefaultMapName
in interface IMapServer2
getDefaultMapName
in interface IMapServer3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerInfo getServerInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getServerInfo
in interface IMapServer
getServerInfo
in interface IMapServer2
getServerInfo
in interface IMapServer3
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapImage exportMapImage(IMapDescription mapDesc, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportMapImage
in interface IMapServer
exportMapImage
in interface IMapServer2
exportMapImage
in interface IMapServer3
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerFindResults find(IMapDescription mapDesc, IImageDisplay mapImage, java.lang.String searchString, boolean contains, java.lang.String searchFields, int option, ILongArray layerIds) throws java.io.IOException, AutomationException
find
in interface IMapServer
find
in interface IMapServer2
find
in interface IMapServer3
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapImage
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)searchString
- The searchString (in)contains
- The contains (in)searchFields
- The searchFields (in)option
- A com.esri.arcgis.carto.esriFindOption constant (in)layerIds
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerIdentifyResults identify(IMapDescription mapDesc, IImageDisplay mapImage, IGeometry searchShape, int tolerance, int option, ILongArray layerIds) throws java.io.IOException, AutomationException
identify
in interface IMapServer
identify
in interface IMapServer2
identify
in interface IMapServer3
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapImage
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)searchShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)option
- A com.esri.arcgis.carto.esriIdentifyOption constant (in)layerIds
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int queryFeatureCount(java.lang.String mapName, int layerID, IQueryFilter filter) throws java.io.IOException, AutomationException
queryFeatureCount
in interface IMapServer
queryFeatureCount
in interface IMapServer2
queryFeatureCount
in interface IMapServer3
mapName
- The mapName (in)layerID
- The layerID (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet queryFeatureIDs(java.lang.String mapName, int layerID, IQueryFilter filter) throws java.io.IOException, AutomationException
queryFeatureIDs
in interface IMapServer
queryFeatureIDs
in interface IMapServer2
queryFeatureIDs
in interface IMapServer3
mapName
- The mapName (in)layerID
- The layerID (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordSet queryFeatureData(java.lang.String mapName, int layerID, IQueryFilter filter) throws java.io.IOException, AutomationException
queryFeatureData
in interface IMapServer
queryFeatureData
in interface IMapServer2
queryFeatureData
in interface IMapServer3
mapName
- The mapName (in)layerID
- The layerID (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerHyperlinks queryHyperlinks(IMapDescription mapDesc, IImageDisplay mapImage, ILongArray layerIds) throws java.io.IOException, AutomationException
queryHyperlinks
in interface IMapServer
queryHyperlinks
in interface IMapServer2
queryHyperlinks
in interface IMapServer3
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapImage
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)layerIds
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double computeScale(IMapDescription mapDesc, IImageDisplay mapDisplay) throws java.io.IOException, AutomationException
computeScale
in interface IMapServer
computeScale
in interface IMapServer2
computeScale
in interface IMapServer3
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double computeDistance(java.lang.String mapName, IPoint fromPoint, IPoint toPoint, int units) throws java.io.IOException, AutomationException
computeDistance
in interface IMapServer
computeDistance
in interface IMapServer2
computeDistance
in interface IMapServer3
mapName
- The mapName (in)fromPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)toPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPointCollection toMapPoints(IMapDescription mapDescription, IImageDisplay mapDisplay, ILongArray screenXValues, ILongArray screenYValues) throws java.io.IOException, AutomationException
toMapPoints
in interface IMapServer
toMapPoints
in interface IMapServer2
toMapPoints
in interface IMapServer3
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fromMapPoints(IMapDescription mapDescription, IImageDisplay mapDisplay, IPointCollection mapPoints, ILongArray[] screenXValues, ILongArray[] screenYValues) throws java.io.IOException, AutomationException
fromMapPoints
in interface IMapServer
fromMapPoints
in interface IMapServer2
fromMapPoints
in interface IMapServer3
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)mapPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerLegendInfos getLegendInfo(java.lang.String mapName, ILongArray layerIds, IMapServerLegendPatch patch, IImageType imgType) throws java.io.IOException, AutomationException
getLegendInfo
in interface IMapServer
getLegendInfo
in interface IMapServer2
getLegendInfo
in interface IMapServer3
mapName
- The mapName (in)layerIds
- A reference to a com.esri.arcgis.system.ILongArray (in)patch
- A reference to a com.esri.arcgis.carto.IMapServerLegendPatch (in)imgType
- A reference to a com.esri.arcgis.carto.IImageType (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISQLSyntaxInfo getSQLSyntaxInfo(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getSQLSyntaxInfo
in interface IMapServer
getSQLSyntaxInfo
in interface IMapServer2
getSQLSyntaxInfo
in interface IMapServer3
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSupportedImageReturnTypes() throws java.io.IOException, AutomationException
getSupportedImageReturnTypes
in interface IMapServer
getSupportedImageReturnTypes
in interface IMapServer2
getSupportedImageReturnTypes
in interface IMapServer3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getMapTileEx(java.lang.String mapName, int level, int row, int column, int cacheFormat) throws java.io.IOException, AutomationException
getMapTileEx
in interface ITiledMapServer2
mapName
- The mapName (in)level
- The level (in)row
- The row (in)column
- The column (in)cacheFormat
- The cacheFormat (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getLayerTileEx(java.lang.String mapName, int layerID, int level, int row, int column, int cacheFormat) throws java.io.IOException, AutomationException
getLayerTileEx
in interface ITiledMapServer2
mapName
- The mapName (in)layerID
- The layerID (in)level
- The level (in)row
- The row (in)column
- The column (in)cacheFormat
- The cacheFormat (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITileImageInfo getTileImageInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getTileImageInfo
in interface ITiledMapServer2
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICacheDescriptionInfo getCacheDescriptionInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getCacheDescriptionInfo
in interface ITiledMapServer2
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICacheControlInfo getCacheControlInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getCacheControlInfo
in interface ITiledMapServer2
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFixedScaleMap(java.lang.String mapName) throws java.io.IOException, AutomationException
isFixedScaleMap
in interface ITiledMapServer
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasSingleFusedMapCache(java.lang.String mapName) throws java.io.IOException, AutomationException
hasSingleFusedMapCache
in interface ITiledMapServer
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITileCacheInfo getTileCacheInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getTileCacheInfo
in interface ITiledMapServer
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getMapTile(java.lang.String mapName, int level, int row, int column) throws java.io.IOException, AutomationException
getMapTile
in interface ITiledMapServer
mapName
- The mapName (in)level
- The level (in)row
- The row (in)column
- The column (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasLayerCache(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
hasLayerCache
in interface ITiledMapServer
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getLayerTile(java.lang.String mapName, int layerID, int level, int row, int column) throws java.io.IOException, AutomationException
getLayerTile
in interface ITiledMapServer
mapName
- The mapName (in)layerID
- The layerID (in)level
- The level (in)row
- The row (in)column
- The column (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualCacheDirectory(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getVirtualCacheDirectory
in interface ITiledMapServer
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCacheName(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getCacheName
in interface ITiledMapServer
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICacheStorageInfo getCacheStorageInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getCacheStorageInfo
in interface ITiledMapServer3
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void construct(IPropertySet props) throws java.io.IOException, AutomationException
construct
in interface IObjectConstruct
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest(byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest
in interface IRequestHandler
request
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String handleStringRequest(java.lang.String capabilities, java.lang.String request) throws java.io.IOException, AutomationException
handleStringRequest
in interface IRequestHandler
capabilities
- The capabilities (in)request
- The request (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest2(java.lang.String capabilities, byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest2
in interface IRequestHandler2
capabilities
- The capabilities (in)request
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap(java.lang.String mapName) throws java.io.IOException, AutomationException
getMap
in interface IMapServerObjects
getMap
in interface IMapServerObjects2
getMap
in interface IMapServerObjects3
mapName
- The mapName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getLayer
in interface IMapServerObjects
getLayer
in interface IMapServerObjects2
getLayer
in interface IMapServerObjects3
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IMapServerObjects
getPageLayout
in interface IMapServerObjects2
getPageLayout
in interface IMapServerObjects3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IMapServerObjects
getThumbnail
in interface IMapServerObjects2
getThumbnail
in interface IMapServerObjects3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshServerObjects() throws java.io.IOException, AutomationException
refreshServerObjects
in interface IMapServerObjects
refreshServerObjects
in interface IMapServerObjects2
refreshServerObjects
in interface IMapServerObjects3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void applyMapDescription(IMapDescription mapDescription, IImageDisplay mapDisplay) throws java.io.IOException, AutomationException
applyMapDescription
in interface IMapServerObjects
applyMapDescription
in interface IMapServerObjects2
applyMapDescription
in interface IMapServerObjects3
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerID(java.lang.String mapName, ILayer pLayer) throws java.io.IOException, AutomationException
getLayerID
in interface IMapServerObjects2
getLayerID
in interface IMapServerObjects3
mapName
- The mapName (in)pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStandaloneTableID(java.lang.String mapName, ITable pTable) throws java.io.IOException, AutomationException
getStandaloneTableID
in interface IMapServerObjects3
mapName
- The mapName (in)pTable
- A reference to a com.esri.arcgis.geodatabase.ITable (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable getStandaloneTable(java.lang.String mapName, int standaloneTableID) throws java.io.IOException, AutomationException
getStandaloneTable
in interface IMapServerObjects3
mapName
- The mapName (in)standaloneTableID
- The standaloneTableID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFeatureValue(java.lang.String mapName, int layerID, IFeature feature, java.lang.String fieldName) throws java.io.IOException, AutomationException
getFeatureValue
in interface IMapServerData
mapName
- The mapName (in)layerID
- The layerID (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)fieldName
- The fieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeature getFeature(java.lang.String mapName, int layerID, int featureId) throws java.io.IOException, AutomationException
getFeature
in interface IMapServerData
mapName
- The mapName (in)layerID
- The layerID (in)featureId
- The featureId (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageDescription getDefaultPageDescription() throws java.io.IOException, AutomationException
getDefaultPageDescription
in interface IMapServerLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayoutImage exportLayout(IPageDescription pageDesc, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportLayout
in interface IMapServerLayout
pageDesc
- A reference to a com.esri.arcgis.carto.IPageDescription (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IImageResult exportLegend(ILegend legend, IMapDescription mapDesc, IImageDisplay pMapDisplay, IColor backgroundColor, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportLegend
in interface IMapServerLayout
legend
- A reference to a com.esri.arcgis.carto.ILegend (in)mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)pMapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IImageResult exportScaleBar(IScaleBar scalebar, IMapDescription mapDesc, IImageDisplay pMapDisplay, IColor backgroundColor, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportScaleBar
in interface IMapServer2
exportScaleBar
in interface IMapServer3
exportScaleBar
in interface IMapServerLayout
scalebar
- A reference to a com.esri.arcgis.carto.IScaleBar (in)mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)pMapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IImageResult exportNorthArrow(INorthArrow arrow, IMapDescription mapDesc, IColor backgroundColor, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportNorthArrow
in interface IMapServerLayout
arrow
- A reference to a com.esri.arcgis.carto.INorthArrow (in)mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)backgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPointCollection toPagePoints(IEnvelope pageExtent, IImageDisplay pageDisplay, ILongArray screenXValues, ILongArray screenYValues) throws java.io.IOException, AutomationException
toPagePoints
in interface IMapServerLayout
pageExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pageDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fromPagePoints(IEnvelope pageExtent, IImageDisplay pageDisplay, IPointCollection pagePoints, ILongArray[] screenXValues, ILongArray[] screenYValues) throws java.io.IOException, AutomationException
fromPagePoints
in interface IMapServerLayout
pageExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pageDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)pagePoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect(java.lang.String filePath) throws java.io.IOException, AutomationException
connect
in interface IMapServerInit
filePath
- The filePath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startWithData(IDataset pDataset) throws java.io.IOException, AutomationException
startWithData
in interface IMapServerInit
pDataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stop() throws java.io.IOException, AutomationException
stop
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPhysicalOutputDirectory(java.lang.String dirPath) throws java.io.IOException, AutomationException
setPhysicalOutputDirectory
in interface IMapServerInit
dirPath
- The dirPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalOutputDirectory() throws java.io.IOException, AutomationException
getPhysicalOutputDirectory
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVirtualOutputDirectory(java.lang.String dirPath) throws java.io.IOException, AutomationException
setVirtualOutputDirectory
in interface IMapServerInit
dirPath
- The dirPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualOutputDirectory() throws java.io.IOException, AutomationException
getVirtualOutputDirectory
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFilePath() throws java.io.IOException, AutomationException
getFilePath
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxRecordCount() throws java.io.IOException, AutomationException
getMaxRecordCount
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxRecordCount(int count) throws java.io.IOException, AutomationException
setMaxRecordCount
in interface IMapServerInit
count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxBufferCount() throws java.io.IOException, AutomationException
getMaxBufferCount
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxBufferCount(int count) throws java.io.IOException, AutomationException
setMaxBufferCount
in interface IMapServerInit
count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxImageWidth() throws java.io.IOException, AutomationException
getMaxImageWidth
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxImageWidth(int width) throws java.io.IOException, AutomationException
setMaxImageWidth
in interface IMapServerInit
width
- The width (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxImageHeight() throws java.io.IOException, AutomationException
getMaxImageHeight
in interface IMapServerInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxImageHeight(int height) throws java.io.IOException, AutomationException
setMaxImageHeight
in interface IMapServerInit
height
- The height (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPhysicalCacheDirectory(java.lang.String pCacheDir) throws java.io.IOException, AutomationException
setPhysicalCacheDirectory
in interface IMapServerInit2
pCacheDir
- The pCacheDir (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalCacheDirectory() throws java.io.IOException, AutomationException
getPhysicalCacheDirectory
in interface IMapServerInit2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVirtualCacheDirectory(java.lang.String pVirtualCacheDir) throws java.io.IOException, AutomationException
setVirtualCacheDirectory
in interface IMapServerInit2
pVirtualCacheDir
- The pVirtualCacheDir (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualCacheDirectory() throws java.io.IOException, AutomationException
getVirtualCacheDirectory
in interface IMapServerInit2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSOMCacheDirectory(java.lang.String pCacheDir) throws java.io.IOException, AutomationException
setSOMCacheDirectory
in interface IMapServerInit2
pCacheDir
- The pCacheDir (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSOMCacheDirectory() throws java.io.IOException, AutomationException
getSOMCacheDirectory
in interface IMapServerInit2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSOMVirtualCacheDirectory() throws java.io.IOException, AutomationException
getSOMVirtualCacheDirectory
in interface IMapServerInit2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate() throws java.io.IOException, AutomationException
activate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws java.io.IOException, AutomationException
deactivate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update(IPropertySet props) throws java.io.IOException, AutomationException
update
in interface IObjectUpdate
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initLogging(ILog log) throws java.io.IOException, AutomationException
initLogging
in interface ILogSupport
log
- A reference to a com.esri.arcgis.system.ILog (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConfigurationName() throws java.io.IOException, AutomationException
getConfigurationName
in interface IServerObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTypeName() throws java.io.IOException, AutomationException
getTypeName
in interface IServerObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByCLSID(java.lang.String cLSID) throws java.io.IOException, AutomationException
findExtensionByCLSID
in interface IServerObjectExtensionManager
cLSID
- The cLSID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByTypeName(java.lang.String name) throws java.io.IOException, AutomationException
findExtensionByTypeName
in interface IServerObjectExtensionManager
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int queryFeatureCount2(java.lang.String mapName, ILayerDescription pLayerDescription, IQueryFilter filter) throws java.io.IOException, AutomationException
queryFeatureCount2
in interface IMapServer2
queryFeatureCount2
in interface IMapServer3
mapName
- The mapName (in)pLayerDescription
- A reference to a com.esri.arcgis.carto.ILayerDescription (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet queryFeatureIDs2(java.lang.String mapName, ILayerDescription pLayerDesciscription, IQueryFilter filter) throws java.io.IOException, AutomationException
queryFeatureIDs2
in interface IMapServer2
queryFeatureIDs2
in interface IMapServer3
mapName
- The mapName (in)pLayerDesciscription
- A reference to a com.esri.arcgis.carto.ILayerDescription (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IQueryResult queryFeatureData2(java.lang.String mapName, ILayerDescription pLayerDesciscription, IQueryFilter filter, IQueryResultOptions options) throws java.io.IOException, AutomationException
queryFeatureData2
in interface IMapServer2
queryFeatureData2
in interface IMapServer3
mapName
- The mapName (in)pLayerDesciscription
- A reference to a com.esri.arcgis.carto.ILayerDescription (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)options
- A reference to a com.esri.arcgis.carto.IQueryResultOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getServiceConfigurationInfo() throws java.io.IOException, AutomationException
getServiceConfigurationInfo
in interface IMapServer2
getServiceConfigurationInfo
in interface IMapServer3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IQueryResult queryData(java.lang.String mapName, IMapTableDescription pMapTableDescription, IQueryFilter filter, IQueryResultOptions options) throws java.io.IOException, AutomationException
queryData
in interface IMapServer3
mapName
- The mapName (in)pMapTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)options
- A reference to a com.esri.arcgis.carto.IQueryResultOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int queryRowCount(java.lang.String mapName, IMapTableDescription pTableDescription, IQueryFilter pFilter) throws java.io.IOException, AutomationException
queryRowCount
in interface IMapServer3
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray queryRowIDs(java.lang.String mapName, IMapTableDescription pTableDescription, IQueryFilter pFilter) throws java.io.IOException, AutomationException
queryRowIDs
in interface IMapServer3
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IQueryResult queryRelatedRecords(java.lang.String mapName, int sourceTable, IFIDSet pFIDs, IRelateDescription relateDescription) throws java.io.IOException, AutomationException
queryRelatedRecords
in interface IMapServer3
mapName
- The mapName (in)sourceTable
- The sourceTable (in)pFIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)relateDescription
- A reference to a com.esri.arcgis.carto.IRelateDescription (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IImageResults queryRasterValue(java.lang.String mapName, int sourceTableID, ILongArray rowIDs, java.lang.String fieldName, IImageType rasterValueType) throws java.io.IOException, AutomationException
queryRasterValue
in interface IMapServer3
mapName
- The mapName (in)sourceTableID
- The sourceTableID (in)rowIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)fieldName
- The fieldName (in)rasterValueType
- A reference to a com.esri.arcgis.carto.IImageType (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAttachmentInfoArray queryAttachmentInfos(java.lang.String mapName, int tableID, ILongArray rowIDs) throws java.io.IOException, AutomationException
queryAttachmentInfos
in interface IMapServer3
mapName
- The mapName (in)tableID
- The tableID (in)rowIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAttachmentDataArray queryAttachmentData(java.lang.String mapName, int tableID, ILongArray attachmentIDs, int transportType) throws java.io.IOException, AutomationException
queryAttachmentData
in interface IMapServer3
mapName
- The mapName (in)tableID
- The tableID (in)attachmentIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)transportType
- A com.esri.arcgis.system.esriTransportType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray queryHTMLPopups(java.lang.String mapName, int tableID, ILongArray pRowIDs) throws java.io.IOException, AutomationException
queryHTMLPopups
in interface IMapServer3
mapName
- The mapName (in)tableID
- The tableID (in)pRowIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayerDrawingDescriptions getDefaultLayerDrawingDescriptions(java.lang.String mapName, ILongArray pLayerIDs, IServerSymbolOutputOptions outputOptions) throws java.io.IOException, AutomationException
getDefaultLayerDrawingDescriptions
in interface IMapServer3
mapName
- The mapName (in)pLayerIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)outputOptions
- A reference to a com.esri.arcgis.carto.IServerSymbolOutputOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapTableSubtypeInfos getMapTableSubtypeInfos(java.lang.String mapName, ILongArray pTableIDs) throws java.io.IOException, AutomationException
getMapTableSubtypeInfos
in interface IMapServer3
mapName
- The mapName (in)pTableIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet onAdd(IPropertySet pProps) throws java.io.IOException, AutomationException
onAdd
in interface IServerObjectConfigurationManager
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onRemove() throws java.io.IOException, AutomationException
onRemove
in interface IServerObjectConfigurationManager
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStart(IServerObjectAdmin pAdmin, IPropertySet pProps) throws java.io.IOException, AutomationException
onStart
in interface IServerObjectConfigurationManager2
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStop(IServerObjectAdmin pAdmin, IPropertySet pProps) throws java.io.IOException, AutomationException
onStop
in interface IServerObjectConfigurationManager2
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onRemoveEx(IServerObjectAdmin pAdmin, IPropertySet props) throws java.io.IOException, AutomationException
onRemoveEx
in interface IServerObjectConfigurationManager2
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStart(IServerObjectAdmin pAdmin, IPropertySet props) throws java.io.IOException, AutomationException
beforeStart
in interface IServerObjectConfigurationManager2
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStop(IServerObjectAdmin pAdmin, IPropertySet props) throws java.io.IOException, AutomationException
beforeStop
in interface IServerObjectConfigurationManager2
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void validate(IPropertySet props) throws java.io.IOException, AutomationException
validate
in interface IObjectValidate
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDataSource(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getDataSource
in interface IMapServerDataAccess
mapName
- The mapName (in)layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDisplayDataSource(java.lang.String mapName, int layerOrTableID) throws java.io.IOException, AutomationException
getDisplayDataSource
in interface IMapServerDataAccess
mapName
- The mapName (in)layerOrTableID
- The layerOrTableID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleRESTRequest(java.lang.String capabilities, java.lang.String resourceName, java.lang.String operationName, java.lang.String operationInput, java.lang.String outputFormat, java.lang.String requestProperties, java.lang.String[] responseProperties) throws java.io.IOException, AutomationException
This method is invoked by ArcGIS Server's REST handler, which intercepts client's request (in URL form), parses it and passes it on to this method in form of parameter values.
The REST SOE developer must add logic to use these parameter values to determine which resource/operation is being requested and accordingly handle these requests and generate responses in the output format indicated by the "outputFormat" parameter. For more information on developing REST SOEs, please consult the Java ArcObjects Developer Guide.
Developer doc: Developing extensions > Server Object Extensions > SOE Web Services > REST Web Services > Developing SOE REST Web Services
Samples: Samples > Server Object Extensions section
handleRESTRequest
in interface IRESTRequestHandler
capabilities
- The capabilities supported by the SOE. An admin can choose which
capabilities are enabled on a particular SOE (in ArcGIS Manager or ArcCatalog), based on certain criteria such as security roles.
This list of allowed capabilities is then sent to this method, at runtime, as a comma separated list. (in)resourceName
- Name of the resource being addressed. If empty, its assumed
that root resource is being addressed. (in)operationName
- Name of the operation being invoked. If empty, description of
resource is returned. (in)operationInput
- Input parameters, in form of comma separated list, to the operation specified by operationName parameter. (in)outputFormat
- OutputFormat of operation. Possible formats are JSON, HTML, AMF, etc. (in)requestProperties
- The requestProperties (in)responseProperties
- The responseProperties (out)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSchema() throws java.io.IOException, AutomationException
For an SOE that has a root resource (called "root") with one operation ("operation0"), and 2 sub-resources with one operation each ("operation1" and "operation2" respectively), the schema would look like:
{
"name": "MyRESTSOE",
"description": "My REST SOE with 3 resources and 1 operation each.",
"isCollection": false,
"operations": [
{
"name": "operation0",
"parameters": ["param01"],
"supportedOutputFormats": ["json"]
}
],
"resources": [
{
"name": "subresource1",
"description": "Sub Resource 1",
"isCollection": true,
"operations": [
{
"name": "operation1",
"parameters": ["param10", "param11"],
"supportedOutputFormats": ["json"]
}
]
},
{
"name": "subresource2",
"description": "Sub Resource 2",
"isCollection": true,
"operations": [
{
"name": "operation2",
"parameters": ["param20", "param21"],
"supportedOutputFormats": ["json"]
}
]
}
]
}
getSchema
in interface IRESTRequestHandler
java.io.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 |