public class ImageServer extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IImageServer, IImageServerEx, IImageServerInit, ITiledImageServer, IServerObject, IObjectConstruct, IRequestHandler, ILogSupport, IObjectActivate, IServerObjectExtensionManager, ISupportErrorInfo, IImageServerObjects, IRESTRequestHandler, IRasterFunctionTemplateMapper
Description 'The ArcGIS Server Image Server class.' 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 =
IID, IID10a6f247_a053_4bb1_aaf3_503ef365e10e, xxDummyIID, IID042ee12d_b2b7_4c2a_b2b2_ddd787957485, xxDummyIID, IIDee09fed6_6e28_491a_b00b_5b8796f075e1, xxDummyIID, IID10bfd112_33d2_4986_997a_f2b6069e45b8, xxDummyIID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, xxDummyIID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummyIID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummyIID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IIDd0bafeb3_b04d_4bc2_bd89_d1251450cb83, xxDummyIID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummyIID, IIDfad854e0_e6e6_42b3_9505_a44d62607932, xxDummy| Constructor and Description |
|---|
ImageServer()
Constructs a ImageServer using ArcGIS Engine.
|
ImageServer(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ImageServer theImageServer = (ImageServer) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activates the object.
|
IImageServerEditResults |
add(IRasterItemDescriptions pItemDescriptions)
Adds a list of raster items for sharing with other users (roles).
|
IRasterHistograms |
computeHistograms(IGeometry pGeometry,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule)
Computes histograms within an area of interest.
|
void |
construct(IPropertySet props)
Two phase object construction.
|
void |
deactivate()
Deactivates the object.
|
IImageServerEditResults |
delete(IFIDSet pRIDs)
Deletes a given list of raster items (images).
|
IImageServerDownloadResults |
download(IFIDSet pFIDs,
IGeometry pGeometry,
java.lang.String format)
Clips images to a given geometry, and returns a list of downloadable files for a given set of catalog item IDs.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IImageResult |
exportImage(IGeoImageDescription pImageDescription,
IImageType pImageType)
Exports into a well-known image for a given image description.
|
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.
|
IImageServiceInfo |
generateServiceInfo(IRenderingRule pRenderingRule)
Generates the image service information as if a given rendering rule is applied.
|
ICacheControlInfo |
getCacheControlInfo()
Gets the cache description information for a given map.
|
ICacheDescriptionInfo |
getCacheDescriptionInfo()
Gets the cache description information for a given map.
|
ICacheStorageInfo |
getCacheStorageInfo()
Gets the cache storage information.
|
int |
getCatalogItemCount(IQueryFilter pFilter)
Gets the catalog item count for a given query filter.
|
IFIDSet |
getCatalogItemIDs(IQueryFilter pFilter)
Gets the catalog item IDs for a given query filter.
|
IRecordSet |
getCatalogItems(IQueryFilter pFilter)
Gets the catalog items for a given query filter.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getConfigurationName()
Name of the server object configuration that defines the server object.
|
IFields |
getFields()
The fields of the image catalog.
|
java.lang.String |
getFile(IImageServerDownloadResult pFile)
Get the URL to a given download result.
|
byte[] |
getImage(IGeoImageDescription pImageDescription)
Gets an image for a given image description.
|
ISpatialReference |
getImageCoordinateSystem(int rID)
Gets the image coordinate system of a given raster.
|
IName |
getImageDataSourceName()
The image server data source name.
|
java.lang.String |
getImageSupportData(int rID)
Gets the image support data.
|
byte[] |
getImageTile(int level,
int row,
int column)
Gets a tile for a given tile location.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IPropertySet |
getKeyProperties()
The image service key properties.
|
IPropertySet |
getKeyProperties2(IRenderingRule pRenderingRule)
Gets the service key properties based on a rendering rule.
|
java.lang.String |
getMetadata()
The image service metadata.
|
IMosaicDataset |
getMosaicDataset()
The mosaic dataset.
|
IMultidimensionalInfo |
getMultidimensionalInfo()
The image service multidimensional info.
|
byte[] |
getNativePixelBlock(int rID,
int iID,
int tx,
int ty,
int level)
Gets a pixel block at a given block location for a specified raw source raster.
|
IRasterInfos |
getNativeRasterInfo(int rID)
Gets raster information of all raw source rasters for a given raster catalog item.
|
java.lang.String |
getPhysicalCacheDirectory()
The physical directory for cache files.
|
java.lang.String |
getPhysicalOutputDirectory()
The physical directory for output files.
|
byte[] |
getPixelBlock(int rID,
int tx,
int ty,
int level)
Gets a pixel block at a given block location.
|
IRaster |
getRaster()
The raster.
|
IRecordSet |
getRasterAttributeTable()
The raster attribute table.
|
IRasterDataset |
getRasterDataset()
The raster dataset.
|
IRasterInfo |
getRasterInfo(int rID)
Gets the image information of a given raster catalog item.
|
IPropertySet |
getRasterKeyProperties(int rID)
The key properties for a given raster catalog item.
|
java.lang.String |
getRasterMetadata(int rID)
Gets the metadata of a given raster catalog item.
|
java.lang.String |
getSchema()
This method returns the resource hierarchy of a REST based SOE.
|
IPropertySet |
getSensorProperties(int rID)
Gets the image coordinate system of a given raster.
|
IImageServiceInfo |
getServiceInfo()
The properties of the image service provided.
|
IImageResult |
getThumbnail(int rID)
Gets the thumbnail image of a given raster catalog item.
|
ITileCacheInfo |
getTileCacheInfo()
Gets the cache configuration.
|
ITileImageInfo |
getTileImageInfo()
Gets the cache tile image information.
|
java.lang.String |
getTypeName()
Type of the server object (MapServer or GeocodeServer).
|
float |
getVersion()
The Image Server version number.
|
java.lang.String |
getVirtualCacheDirectory()
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[] |
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
|
IImageServerIdentifyResult |
identify(IGeometry pLocation,
IMosaicRule pMosaicRule,
IPoint pCellsize)
Identifies the pixel value and catalog items at the given location.
|
IImageServerIdentifyResults |
identifyAll(IGeometry pLocations,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule,
java.lang.String options)
Identifies the pixel values and all catalog items at the given one or more locations.
|
void |
initialize(java.lang.String fullName)
Initializes this image server from a fullname to a dataset.
|
void |
initializeFromDataset(IRasterDataset pDataset)
Initializes this image server from a Raster Dataset.
|
void |
initializeFromServiceURL(java.lang.String serviceURL)
Initializes this image server from an AIS service URL (ImageService://
|
void |
initLogging(ILog log)
Initializes an object with a log.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isFixedScaleImage()
Indicates if it is fixed scale image.
|
IImageServerMeasureResult |
measure(IGeometry pFrom,
IGeometry pTo,
IMosaicRule pMosaicRule,
IPoint pCellsize,
int operation)
Measures distance, angle, area, perimeter, and height.
|
void |
release()
Release this COM object reference
|
void |
setImageDataSourceNameByRef(IName ppName)
The image server data source name.
|
IRasterFunctionTemplate |
toRasterFunctionTemplate(java.lang.String name)
Constructs a raster function template from a known template name.
|
IImageServerEditResults |
update(IFIDSet pRIDs,
IRasterItemDescriptions pItemDescriptions)
Updates a given list of raster items (images).
|
public ImageServer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic ImageServer(java.lang.Object obj)
throws java.io.IOException
ImageServer theImageServer = (ImageServer) obj;obj to ImageServer.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic float getVersion()
throws java.io.IOException,
AutomationException
getVersion in interface IImageServergetVersion in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServiceInfo getServiceInfo() throws java.io.IOException, AutomationException
getServiceInfo in interface IImageServergetServiceInfo in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] getImage(IGeoImageDescription pImageDescription) throws java.io.IOException, AutomationException
getImage in interface IImageServergetImage in interface IImageServerExpImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageResult exportImage(IGeoImageDescription pImageDescription, IImageType pImageType) throws java.io.IOException, AutomationException
exportImage in interface IImageServerexportImage in interface IImageServerExpImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)pImageType - 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 IFields getFields() throws java.io.IOException, AutomationException
getFields in interface IImageServergetFields in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getCatalogItemCount(IQueryFilter pFilter) throws java.io.IOException, AutomationException
getCatalogItemCount in interface IImageServergetCatalogItemCount in interface IImageServerExpFilter - 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 getCatalogItemIDs(IQueryFilter pFilter) throws java.io.IOException, AutomationException
getCatalogItemIDs in interface IImageServergetCatalogItemIDs in interface IImageServerExpFilter - 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 getCatalogItems(IQueryFilter pFilter) throws java.io.IOException, AutomationException
getCatalogItems in interface IImageServergetCatalogItems in interface IImageServerExpFilter - 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 IImageServerDownloadResults download(IFIDSet pFIDs, IGeometry pGeometry, java.lang.String format) throws java.io.IOException, AutomationException
download in interface IImageServerdownload in interface IImageServerExpFIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)format - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getFile(IImageServerDownloadResult pFile) throws java.io.IOException, AutomationException
getFile in interface IImageServergetFile in interface IImageServerExpFile - A reference to a com.esri.arcgis.carto.IImageServerDownloadResult (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerIdentifyResult identify(IGeometry pLocation, IMosaicRule pMosaicRule, IPoint pCellsize) throws java.io.IOException, AutomationException
identify in interface IImageServeridentify in interface IImageServerExpLocation - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getMetadata()
throws java.io.IOException,
AutomationException
getMetadata in interface IImageServergetMetadata in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterInfo getRasterInfo(int rID) throws java.io.IOException, AutomationException
getRasterInfo in interface IImageServergetRasterInfo in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] getPixelBlock(int rID,
int tx,
int ty,
int level)
throws java.io.IOException,
AutomationException
getPixelBlock in interface IImageServergetPixelBlock in interface IImageServerExrID - The rID (in)tx - The tx (in)ty - The ty (in)level - The level (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getRasterMetadata(int rID)
throws java.io.IOException,
AutomationException
getRasterMetadata in interface IImageServergetRasterMetadata in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageResult getThumbnail(int rID) throws java.io.IOException, AutomationException
getThumbnail in interface IImageServergetThumbnail in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServiceInfo generateServiceInfo(IRenderingRule pRenderingRule) throws java.io.IOException, AutomationException
generateServiceInfo in interface IImageServergenerateServiceInfo in interface IImageServerExpRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterInfos getNativeRasterInfo(int rID) throws java.io.IOException, AutomationException
getNativeRasterInfo in interface IImageServergetNativeRasterInfo in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] getNativePixelBlock(int rID,
int iID,
int tx,
int ty,
int level)
throws java.io.IOException,
AutomationException
getNativePixelBlock in interface IImageServergetNativePixelBlock in interface IImageServerExrID - The rID (in)iID - The iID (in)tx - The tx (in)ty - The ty (in)level - The level (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerEditResults add(IRasterItemDescriptions pItemDescriptions) throws java.io.IOException, AutomationException
add in interface IImageServeradd in interface IImageServerExpItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerEditResults update(IFIDSet pRIDs, IRasterItemDescriptions pItemDescriptions) throws java.io.IOException, AutomationException
update in interface IImageServerupdate in interface IImageServerExpRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerEditResults delete(IFIDSet pRIDs) throws java.io.IOException, AutomationException
delete in interface IImageServerdelete in interface IImageServerExpRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerMeasureResult measure(IGeometry pFrom, IGeometry pTo, IMosaicRule pMosaicRule, IPoint pCellsize, int operation) throws java.io.IOException, AutomationException
measure in interface IImageServermeasure in interface IImageServerExpFrom - A reference to a com.esri.arcgis.geometry.IGeometry (in)pTo - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)operation - A com.esri.arcgis.carto.esriMensurationOperation constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterHistograms computeHistograms(IGeometry pGeometry, IMosaicRule pMosaicRule, IPoint pCellsize, IRenderingRule pRenderingRule) throws java.io.IOException, AutomationException
computeHistograms in interface IImageServercomputeHistograms in interface IImageServerExpGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRecordSet getRasterAttributeTable() throws java.io.IOException, AutomationException
getRasterAttributeTable in interface IImageServergetRasterAttributeTable in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getKeyProperties() throws java.io.IOException, AutomationException
getKeyProperties in interface IImageServergetKeyProperties in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getRasterKeyProperties(int rID) throws java.io.IOException, AutomationException
getRasterKeyProperties in interface IImageServergetRasterKeyProperties in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IImageServerIdentifyResults identifyAll(IGeometry pLocations, IMosaicRule pMosaicRule, IPoint pCellsize, IRenderingRule pRenderingRule, java.lang.String options) throws java.io.IOException, AutomationException
identifyAll in interface IImageServeridentifyAll in interface IImageServerExpLocations - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)options - The options (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IMultidimensionalInfo getMultidimensionalInfo() throws java.io.IOException, AutomationException
getMultidimensionalInfo in interface IImageServergetMultidimensionalInfo in interface IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getImageCoordinateSystem(int rID) throws java.io.IOException, AutomationException
getImageCoordinateSystem in interface IImageServergetImageCoordinateSystem in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getSensorProperties(int rID) throws java.io.IOException, AutomationException
getSensorProperties in interface IImageServergetSensorProperties in interface IImageServerExrID - The rID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getKeyProperties2(IRenderingRule pRenderingRule) throws java.io.IOException, AutomationException
getKeyProperties2 in interface IImageServergetKeyProperties2 in interface IImageServerExpRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getImageSupportData(int rID)
throws java.io.IOException,
AutomationException
getImageSupportData in interface IImageServergetImageSupportData in interface IImageServerExrID - The rID (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 IImageServerExjava.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 IImageServerExjava.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 IImageServerExjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void initialize(java.lang.String fullName)
throws java.io.IOException,
AutomationException
initialize in interface IImageServerInitfullName - The fullName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void initializeFromDataset(IRasterDataset pDataset) throws java.io.IOException, AutomationException
initializeFromDataset in interface IImageServerInitpDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void initializeFromServiceURL(java.lang.String serviceURL)
throws java.io.IOException,
AutomationException
initializeFromServiceURL in interface IImageServerInitserviceURL - The serviceURL (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setImageDataSourceNameByRef(IName ppName) throws java.io.IOException, AutomationException
setImageDataSourceNameByRef in interface IImageServerInitppName - A reference to a com.esri.arcgis.system.IName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IName getImageDataSourceName() throws java.io.IOException, AutomationException
getImageDataSourceName in interface IImageServerInitjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITileCacheInfo getTileCacheInfo() throws java.io.IOException, AutomationException
getTileCacheInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] getImageTile(int level,
int row,
int column)
throws java.io.IOException,
AutomationException
getImageTile in interface ITiledImageServerlevel - 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 ITileImageInfo getTileImageInfo() throws java.io.IOException, AutomationException
getTileImageInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICacheStorageInfo getCacheStorageInfo() throws java.io.IOException, AutomationException
getCacheStorageInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isFixedScaleImage()
throws java.io.IOException,
AutomationException
isFixedScaleImage in interface ITiledImageServerjava.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 ITiledImageServerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICacheDescriptionInfo getCacheDescriptionInfo() throws java.io.IOException, AutomationException
getCacheDescriptionInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICacheControlInfo getCacheControlInfo() throws java.io.IOException, AutomationException
getCacheControlInfo in interface ITiledImageServerjava.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 IServerObjectjava.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 IServerObjectjava.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 IObjectConstructprops - 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 IRequestHandlerrequest - 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 IRequestHandlercapabilities - The capabilities (in)request - The request (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 ILogSupportlog - 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 activate()
throws java.io.IOException,
AutomationException
activate in interface IObjectActivatejava.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 IObjectActivatejava.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 IServerObjectExtensionManagercLSID - 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 IServerObjectExtensionManagername - The name (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 ISupportErrorInforiid - 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 IMosaicDataset getMosaicDataset() throws java.io.IOException, AutomationException
getMosaicDataset in interface IImageServerObjectsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset getRasterDataset() throws java.io.IOException, AutomationException
getRasterDataset in interface IImageServerObjectsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster getRaster() throws java.io.IOException, AutomationException
getRaster in interface IImageServerObjectsjava.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 IRESTRequestHandlercapabilities - 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 IRESTRequestHandlerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterFunctionTemplate toRasterFunctionTemplate(java.lang.String name) throws java.io.IOException, AutomationException
toRasterFunctionTemplate in interface IRasterFunctionTemplateMappername - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.