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, xxDummy
IID, IID042ee12d_b2b7_4c2a_b2b2_ddd787957485, xxDummy
IID, IIDee09fed6_6e28_491a_b00b_5b8796f075e1, xxDummy
IID, IID10bfd112_33d2_4986_997a_f2b6069e45b8, xxDummy
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, xxDummy
IID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummy
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy
IID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IIDd0bafeb3_b04d_4bc2_bd89_d1251450cb83, xxDummy
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy
IID, 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.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 float getVersion() throws java.io.IOException, AutomationException
getVersion
in interface IImageServer
getVersion
in interface IImageServerEx
java.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 IImageServer
getServiceInfo
in interface IImageServerEx
java.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 IImageServer
getImage
in interface IImageServerEx
pImageDescription
- 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 IImageServer
exportImage
in interface IImageServerEx
pImageDescription
- 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 IImageServer
getFields
in interface IImageServerEx
java.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 IImageServer
getCatalogItemCount
in interface IImageServerEx
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 IFIDSet getCatalogItemIDs(IQueryFilter pFilter) throws java.io.IOException, AutomationException
getCatalogItemIDs
in interface IImageServer
getCatalogItemIDs
in interface IImageServerEx
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 IRecordSet getCatalogItems(IQueryFilter pFilter) throws java.io.IOException, AutomationException
getCatalogItems
in interface IImageServer
getCatalogItems
in interface IImageServerEx
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 IImageServerDownloadResults download(IFIDSet pFIDs, IGeometry pGeometry, java.lang.String format) throws java.io.IOException, AutomationException
download
in interface IImageServer
download
in interface IImageServerEx
pFIDs
- 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 IImageServer
getFile
in interface IImageServerEx
pFile
- 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 IImageServer
identify
in interface IImageServerEx
pLocation
- 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 IImageServer
getMetadata
in interface IImageServerEx
java.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 IImageServer
getRasterInfo
in interface IImageServerEx
rID
- 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 IImageServer
getPixelBlock
in interface IImageServerEx
rID
- 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 IImageServer
getRasterMetadata
in interface IImageServerEx
rID
- 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 IImageServer
getThumbnail
in interface IImageServerEx
rID
- 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 IImageServer
generateServiceInfo
in interface IImageServerEx
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 IRasterInfos getNativeRasterInfo(int rID) throws java.io.IOException, AutomationException
getNativeRasterInfo
in interface IImageServer
getNativeRasterInfo
in interface IImageServerEx
rID
- 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 IImageServer
getNativePixelBlock
in interface IImageServerEx
rID
- 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 IImageServer
add
in interface IImageServerEx
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 update(IFIDSet pRIDs, IRasterItemDescriptions pItemDescriptions) throws java.io.IOException, AutomationException
update
in interface IImageServer
update
in interface IImageServerEx
pRIDs
- 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 IImageServer
delete
in interface IImageServerEx
pRIDs
- 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 IImageServer
measure
in interface IImageServerEx
pFrom
- 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 IImageServer
computeHistograms
in interface IImageServerEx
pGeometry
- 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 IImageServer
getRasterAttributeTable
in interface IImageServerEx
java.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 IImageServer
getKeyProperties
in interface IImageServerEx
java.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 IImageServer
getRasterKeyProperties
in interface IImageServerEx
rID
- 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 IImageServer
identifyAll
in interface IImageServerEx
pLocations
- 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 IImageServer
getMultidimensionalInfo
in interface IImageServerEx
java.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 IImageServer
getImageCoordinateSystem
in interface IImageServerEx
rID
- 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 IImageServer
getSensorProperties
in interface IImageServerEx
rID
- 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 IImageServer
getKeyProperties2
in interface IImageServerEx
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 java.lang.String getImageSupportData(int rID) throws java.io.IOException, AutomationException
getImageSupportData
in interface IImageServer
getImageSupportData
in interface IImageServerEx
rID
- 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 IImageServerEx
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 IImageServerEx
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 IImageServerEx
java.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 IImageServerInit
fullName
- 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 IImageServerInit
pDataset
- 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 IImageServerInit
serviceURL
- 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 IImageServerInit
ppName
- 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 IImageServerInit
java.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 ITiledImageServer
java.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 ITiledImageServer
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 ITileImageInfo getTileImageInfo() throws java.io.IOException, AutomationException
getTileImageInfo
in interface ITiledImageServer
java.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 ITiledImageServer
java.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 ITiledImageServer
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 ITiledImageServer
java.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 ITiledImageServer
java.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 ITiledImageServer
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 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 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 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 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 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 IMosaicDataset getMosaicDataset() throws java.io.IOException, AutomationException
getMosaicDataset
in interface IImageServerObjects
java.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 IImageServerObjects
java.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 IImageServerObjects
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.public IRasterFunctionTemplate toRasterFunctionTemplate(java.lang.String name) throws java.io.IOException, AutomationException
toRasterFunctionTemplate
in interface IRasterFunctionTemplateMapper
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.