com.esri.arcgis.carto
Class ImageServer

java.lang.Object
  extended by com.esri.arcgis.carto.ImageServer
All Implemented Interfaces:
IImageServer, IImageServer2, IImageServer3, IImageServer4, IImageServer5, IImageServerInit, IImageServerInit2, IImageServerInit3, IImageServerObjects, ITiledImageServer, IRasterFunctionTemplateMapper, com.esri.arcgis.interop.RemoteObjRef, IServerObject, IServerObjectExtensionManager, ILogSupport, IObjectActivate, IObjectConstruct, IRequestHandler, IRequestHandler2, IRESTRequestHandler, ISupportErrorInfo, java.io.Serializable

public class ImageServer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IImageServer, IImageServer2, IImageServer3, IImageServer4, IImageServer5, IImageServerInit, IImageServerInit2, IImageServerInit3, ITiledImageServer, IServerObject, IObjectConstruct, IRequestHandler, IRequestHandler2, ILogSupport, IObjectActivate, IServerObjectExtensionManager, ISupportErrorInfo, IImageServerObjects, IRESTRequestHandler, IRasterFunctionTemplateMapper

COM Class 'ImageServer'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IImageServer5
IID, IID7e7c1e2b_cef1_42d5_b3d5_017a44362676, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IImageServer4
IID08586b82_874c_492a_93b2_73b91a92d28f
 
Fields inherited from interface com.esri.arcgis.carto.IImageServer3
IIDd27b4a93_5dd5_47e0_9551_951010c342ad
 
Fields inherited from interface com.esri.arcgis.carto.IImageServer2
IIDd9bf0bf1_2ac8_49f5_94cb_6b5182c6297f
 
Fields inherited from interface com.esri.arcgis.carto.IImageServer
IID10a6f247_a053_4bb1_aaf3_503ef365e10e
 
Fields inherited from interface com.esri.arcgis.carto.IImageServerInit3
IID, IID1db58a01_ad2f_446c_b274_4389a2638fb6, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IImageServerInit2
IID57e791d8_5492_41c3_8f17_5f416b38111b
 
Fields inherited from interface com.esri.arcgis.carto.IImageServerInit
IIDee09fed6_6e28_491a_b00b_5b8796f075e1
 
Fields inherited from interface com.esri.arcgis.carto.ITiledImageServer
IID, IID10bfd112_33d2_4986_997a_f2b6069e45b8, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerObject
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, 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.system.IObjectActivate
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectExtensionManager
IID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IImageServerObjects
IID, IIDd0bafeb3_b04d_4bc2_bd89_d1251450cb83, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IRESTRequestHandler
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterFunctionTemplateMapper
IID, IIDfad854e0_e6e6_42b3_9505_a44d62607932, xxDummy
 
Constructor Summary
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;
 
Method Summary
 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.
 IImageServerEditResult createView(IImageView pView)
          Creates a new view.
 void deactivate()
          Deactivates the object.
 void defineView(IImageView pView)
          Defines/creates a new, or overwrites an existing, view.
 IImageServerEditResults delete(IFIDSet pRIDs)
          Deletes a given list of raster items (images).
 IImageServerEditResult deleteView(java.lang.String vID)
          Deletes the view of a given view ID.
 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
 java.lang.Object execute(java.lang.String name, java.lang.Object argument)
          Executes a named image server processing command.
 IImageResult exportImage(IGeoImageDescription pImageDescription, IImageType pImageType)
          Exports into a well-known image for a given image description.
 IMapImage exportMapImage(IGeoImageDescription pImageDescription, IImageType pImageType)
          Exports into a well-known image with a correct aspect ratio 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.
 java.lang.String getAllowedCompressions()
          The list of allowed compressions, None, LZ77, and JPEG.
 java.lang.String getAllowedFields()
          The list of allowed field names.
 java.lang.String getAllowedItemMetadata()
          The allowed metadata, None, Basic, and Full.
 java.lang.String getAllowedMosaicMethods()
          The list of allowed mosaic methods.
 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.
 IRaster getDEM()
          The DEM for 3D mensuration.
 java.lang.String getDownloadDirectory()
          The physical directory for downloadable files.
 java.lang.String getDynamicImageWorkspace()
          The workspace used for adding rasters.
 java.lang.String getExcludedFields()
          The list of excluded field names.
 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.
 byte[] getImageTile(int level, int row, int column)
          Gets a tile for a given tile location from a given map.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPropertySet getKeyProperties()
          The image service key properties.
 int getMaxImageHeight()
          The maximum height in pixels of an image request.
 int getMaxImageWidth()
          The maximum width in pixels of an image request.
 double getMaximumImageCellsize()
          The maximum source image cellsize.
 int getMaxRecordCount()
          The maximum number of records returned for query results (GetCatalog).
 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 getOutputDirectory()
          The physical directory for output files.
 java.lang.String getPhysicalCacheDirectory()
          The physical directory for cache 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 for a given map.
 ITileImageInfo getTileImageInfo()
          Gets the cache tile image information for a given map.
 ITimeTableDefinition getTimeDefinition()
          The time definition.
 java.lang.String getTypeName()
          Type of the server object (MapServer or GeocodeServer).
 float getVersion()
          The Image Server version number.
 IImageView getView()
          The current image view.
 IImageView getView(java.lang.String vID)
          Gets the view of a given view ID.
 java.lang.String getViewID()
          The current image view ID.
 java.lang.String getVirtualCacheDirectory()
          The physical directory for cache files.
 java.lang.String getVirtualDownloadDirectory()
          The virtual directory for downloading files.
 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
 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 initializeDEM(java.lang.String uRI)
          Initialize DEM for 3D mensuration from a DEM file or service.
 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 a given map is a fixed scale map.
 IImageServerMeasureResult measure(IGeometry pFrom, IGeometry pTo, IMosaicRule pMosaicRule, IPoint pCellsize, int operation)
          Measures distance, angle, area, perimeter, and height.
 void project(ISpatialReference pSpatialReference)
          Projects into a new spatial reference.
 void release()
          Release a ImageServer.
 void setAllowedCompressions(java.lang.String pAllowedCompressions)
          The list of allowed compressions, None, LZ77, and JPEG.
 void setAllowedFields(java.lang.String pAllowedFields)
          The list of allowed field names.
 void setAllowedItemMetadata(java.lang.String pAllowedItemMetadata)
          The allowed metadata, None, Basic, and Full.
 void setAllowedMosaicMethods(java.lang.String pAllowedMosaicMethods)
          The list of allowed mosaic methods.
 void setColormapToRGB(boolean rhs1)
          Indicates if a colormap image is to be converted to RGB.
 void setDEMByRef(IRaster ppDEM)
          The DEM for 3D mensuration.
 void setDownloadDirectory(java.lang.String pPath)
          The physical directory for downloadable files.
 void setDynamicImageWorkspace(java.lang.String pPath)
          The workspace used for adding rasters.
 void setExcludedFields(java.lang.String pExcludedFields)
          The list of excluded field names.
 void setImageDataSourceNameByRef(IName ppName)
          The image server data source name.
 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 (GetCatalog).
 void setOutputDirectory(java.lang.String pPath)
          The physical directory for output files.
 void setPhysicalCacheDirectory(java.lang.String pCacheDir)
          The physical directory for cache files.
 void setRasterFunctions(java.lang.String rhs1)
          A list of comma delimited server raster function names.
 void setRasterTypes(java.lang.String rhs1)
          A list of comma delimited server raster type names.
 void setUser(java.lang.String rhs1)
          The current user.
 void setViewByRef(IImageView ppView)
          The current image view.
 void setViewID(java.lang.String pVID)
          The current image view ID.
 void setVirtualCacheDirectory(java.lang.String pVirtualCacheDir)
          The physical directory for cache files.
 void setVirtualDownloadDirectory(java.lang.String pPath)
          The virtual directory for downloading files.
 void setVirtualOutputDirectory(java.lang.String pPath)
          The virtual directory for output files.
 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).
 IImageServerEditResults updateView(java.lang.String vID, IFIDSet pAddIDs, IFIDSet pDeleteIDs)
          Inserts and Removes raster items to a given view.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageServer

public ImageServer()
            throws java.io.IOException,
                   java.net.UnknownHostException
Constructs a ImageServer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ImageServer

public ImageServer(java.lang.Object obj)
            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ImageServer theImageServer = (ImageServer) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ImageServer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getVersion

public float getVersion()
                 throws java.io.IOException,
                        AutomationException
The Image Server version number.

Specified by:
getVersion in interface IImageServer
Returns:
The pVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceInfo

public IImageServiceInfo getServiceInfo()
                                 throws java.io.IOException,
                                        AutomationException
The properties of the image service provided.

Specified by:
getServiceInfo in interface IImageServer
Returns:
A reference to a com.esri.arcgis.carto.IImageServiceInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImage

public byte[] getImage(IGeoImageDescription pImageDescription)
                throws java.io.IOException,
                       AutomationException
Gets an image for a given image description.

Specified by:
getImage in interface IImageServer
Parameters:
pImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportImage

public IImageResult exportImage(IGeoImageDescription pImageDescription,
                                IImageType pImageType)
                         throws java.io.IOException,
                                AutomationException
Exports into a well-known image for a given image description.

Specified by:
exportImage in interface IImageServer
Parameters:
pImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)
pImageType - A reference to a com.esri.arcgis.carto.IImageType (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportMapImage

public IMapImage exportMapImage(IGeoImageDescription pImageDescription,
                                IImageType pImageType)
                         throws java.io.IOException,
                                AutomationException
Exports into a well-known image with a correct aspect ratio for a given image description.

Specified by:
exportMapImage in interface IImageServer2
Parameters:
pImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)
pImageType - A reference to a com.esri.arcgis.carto.IImageType (in)
Returns:
A reference to a com.esri.arcgis.carto.IMapImage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields of the image catalog.

Specified by:
getFields in interface IImageServer3
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalogItemCount

public int getCatalogItemCount(IQueryFilter pFilter)
                        throws java.io.IOException,
                               AutomationException
Gets the catalog item count for a given query filter.

Specified by:
getCatalogItemCount in interface IImageServer3
Parameters:
pFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
The pNumItems
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalogItemIDs

public IFIDSet getCatalogItemIDs(IQueryFilter pFilter)
                          throws java.io.IOException,
                                 AutomationException
Gets the catalog item IDs for a given query filter.

Specified by:
getCatalogItemIDs in interface IImageServer3
Parameters:
pFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFIDSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalogItems

public IRecordSet getCatalogItems(IQueryFilter pFilter)
                           throws java.io.IOException,
                                  AutomationException
Gets the catalog items for a given query filter.

Specified by:
getCatalogItems in interface IImageServer3
Parameters:
pFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

download

public IImageServerDownloadResults download(IFIDSet pFIDs,
                                            IGeometry pGeometry,
                                            java.lang.String format)
                                     throws java.io.IOException,
                                            AutomationException
Clips images to a given geometry, and returns a list of downloadable files for a given set of catalog item IDs.

Specified by:
download in interface IImageServer3
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerDownloadResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFile

public java.lang.String getFile(IImageServerDownloadResult pFile)
                         throws java.io.IOException,
                                AutomationException
Get the URL to a given download result.

Specified by:
getFile in interface IImageServer3
Parameters:
pFile - A reference to a com.esri.arcgis.carto.IImageServerDownloadResult (in)
Returns:
The pURL
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

identify

public IImageServerIdentifyResult identify(IGeometry pLocation,
                                           IMosaicRule pMosaicRule,
                                           IPoint pCellsize)
                                    throws java.io.IOException,
                                           AutomationException
Identifies the pixel value and catalog items at the given location.

Specified by:
identify in interface IImageServer3
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerIdentifyResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

public java.lang.String getMetadata()
                             throws java.io.IOException,
                                    AutomationException
The image service metadata.

Specified by:
getMetadata in interface IImageServer3
Returns:
The pXml
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterInfo

public IRasterInfo getRasterInfo(int rID)
                          throws java.io.IOException,
                                 AutomationException
Gets the image information of a given raster catalog item.

Specified by:
getRasterInfo in interface IImageServer3
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelBlock

public byte[] getPixelBlock(int rID,
                            int tx,
                            int ty,
                            int level)
                     throws java.io.IOException,
                            AutomationException
Gets a pixel block at a given block location.

Specified by:
getPixelBlock in interface IImageServer3
Parameters:
rID - The rID (in)
tx - The tx (in)
ty - The ty (in)
level - The level (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterMetadata

public java.lang.String getRasterMetadata(int rID)
                                   throws java.io.IOException,
                                          AutomationException
Gets the metadata of a given raster catalog item.

Specified by:
getRasterMetadata in interface IImageServer3
Parameters:
rID - The rID (in)
Returns:
The pXml
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnail

public IImageResult getThumbnail(int rID)
                          throws java.io.IOException,
                                 AutomationException
Gets the thumbnail image of a given raster catalog item.

Specified by:
getThumbnail in interface IImageServer3
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateServiceInfo

public IImageServiceInfo generateServiceInfo(IRenderingRule pRenderingRule)
                                      throws java.io.IOException,
                                             AutomationException
Generates the image service information as if a given rendering rule is applied.

Specified by:
generateServiceInfo in interface IImageServer3
Parameters:
pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServiceInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeRasterInfo

public IRasterInfos getNativeRasterInfo(int rID)
                                 throws java.io.IOException,
                                        AutomationException
Gets raster information of all raw source rasters for a given raster catalog item.

Specified by:
getNativeRasterInfo in interface IImageServer3
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativePixelBlock

public byte[] getNativePixelBlock(int rID,
                                  int iID,
                                  int tx,
                                  int ty,
                                  int level)
                           throws java.io.IOException,
                                  AutomationException
Gets a pixel block at a given block location for a specified raw source raster.

Specified by:
getNativePixelBlock in interface IImageServer3
Parameters:
rID - The rID (in)
iID - The iID (in)
tx - The tx (in)
ty - The ty (in)
level - The level (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public IImageServerEditResults add(IRasterItemDescriptions pItemDescriptions)
                            throws java.io.IOException,
                                   AutomationException
Adds a list of raster items for sharing with other users (roles).

Specified by:
add in interface IImageServer4
Parameters:
pItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public IImageServerEditResults update(IFIDSet pRIDs,
                                      IRasterItemDescriptions pItemDescriptions)
                               throws java.io.IOException,
                                      AutomationException
Updates a given list of raster items (images).

Specified by:
update in interface IImageServer4
Parameters:
pRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
pItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public IImageServerEditResults delete(IFIDSet pRIDs)
                               throws java.io.IOException,
                                      AutomationException
Deletes a given list of raster items (images).

Specified by:
delete in interface IImageServer4
Parameters:
pRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

measure

public IImageServerMeasureResult measure(IGeometry pFrom,
                                         IGeometry pTo,
                                         IMosaicRule pMosaicRule,
                                         IPoint pCellsize,
                                         int operation)
                                  throws java.io.IOException,
                                         AutomationException
Measures distance, angle, area, perimeter, and height.

Specified by:
measure in interface IImageServer4
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerMeasureResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeHistograms

public IRasterHistograms computeHistograms(IGeometry pGeometry,
                                           IMosaicRule pMosaicRule,
                                           IPoint pCellsize,
                                           IRenderingRule pRenderingRule)
                                    throws java.io.IOException,
                                           AutomationException
Computes histograms within an area of interest.

Specified by:
computeHistograms in interface IImageServer4
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterHistograms
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterAttributeTable

public IRecordSet getRasterAttributeTable()
                                   throws java.io.IOException,
                                          AutomationException
The raster attribute table.

Specified by:
getRasterAttributeTable in interface IImageServer4
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeyProperties

public IPropertySet getKeyProperties()
                              throws java.io.IOException,
                                     AutomationException
The image service key properties.

Specified by:
getKeyProperties in interface IImageServer4
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterKeyProperties

public IPropertySet getRasterKeyProperties(int rID)
                                    throws java.io.IOException,
                                           AutomationException
The key properties for a given raster catalog item.

Specified by:
getRasterKeyProperties in interface IImageServer4
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

identifyAll

public IImageServerIdentifyResults identifyAll(IGeometry pLocations,
                                               IMosaicRule pMosaicRule,
                                               IPoint pCellsize,
                                               IRenderingRule pRenderingRule,
                                               java.lang.String options)
                                        throws java.io.IOException,
                                               AutomationException
Identifies the pixel values and all catalog items at the given one or more locations.

Specified by:
identifyAll in interface IImageServer4
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerIdentifyResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getView

public IImageView getView(java.lang.String vID)
                   throws java.io.IOException,
                          AutomationException
Gets the view of a given view ID.

Specified by:
getView in interface IImageServer4
Parameters:
vID - The vID (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createView

public IImageServerEditResult createView(IImageView pView)
                                  throws java.io.IOException,
                                         AutomationException
Creates a new view.

Specified by:
createView in interface IImageServer4
Parameters:
pView - A reference to a com.esri.arcgis.carto.IImageView (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateView

public IImageServerEditResults updateView(java.lang.String vID,
                                          IFIDSet pAddIDs,
                                          IFIDSet pDeleteIDs)
                                   throws java.io.IOException,
                                          AutomationException
Inserts and Removes raster items to a given view.

Specified by:
updateView in interface IImageServer4
Parameters:
vID - The vID (in)
pAddIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
pDeleteIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteView

public IImageServerEditResult deleteView(java.lang.String vID)
                                  throws java.io.IOException,
                                         AutomationException
Deletes the view of a given view ID.

Specified by:
deleteView in interface IImageServer4
Parameters:
vID - The vID (in)
Returns:
A reference to a com.esri.arcgis.carto.IImageServerEditResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

execute

public java.lang.Object execute(java.lang.String name,
                                java.lang.Object argument)
                         throws java.io.IOException,
                                AutomationException
Executes a named image server processing command.

Specified by:
execute in interface IImageServer4
Parameters:
name - The name (in)
argument - A Variant (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMultidimensionalInfo

public IMultidimensionalInfo getMultidimensionalInfo()
                                              throws java.io.IOException,
                                                     AutomationException
The image service multidimensional info.

Specified by:
getMultidimensionalInfo in interface IImageServer5
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IMultidimensionalInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageCoordinateSystem

public ISpatialReference getImageCoordinateSystem(int rID)
                                           throws java.io.IOException,
                                                  AutomationException
Gets the image coordinate system of a given raster.

Specified by:
getImageCoordinateSystem in interface IImageServer5
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSensorProperties

public IPropertySet getSensorProperties(int rID)
                                 throws java.io.IOException,
                                        AutomationException
Gets the image coordinate system of a given raster.

Specified by:
getSensorProperties in interface IImageServer5
Parameters:
rID - The rID (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(java.lang.String fullName)
                throws java.io.IOException,
                       AutomationException
Initializes this image server from a fullname to a dataset.

Specified by:
initialize in interface IImageServerInit
Parameters:
fullName - The fullName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeFromDataset

public void initializeFromDataset(IRasterDataset pDataset)
                           throws java.io.IOException,
                                  AutomationException
Initializes this image server from a Raster Dataset.

Specified by:
initializeFromDataset in interface IImageServerInit
Parameters:
pDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeFromServiceURL

public void initializeFromServiceURL(java.lang.String serviceURL)
                              throws java.io.IOException,
                                     AutomationException
Initializes this image server from an AIS service URL (ImageService://:/).

Specified by:
initializeFromServiceURL in interface IImageServerInit
Parameters:
serviceURL - The serviceURL (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImageDataSourceNameByRef

public void setImageDataSourceNameByRef(IName ppName)
                                 throws java.io.IOException,
                                        AutomationException
The image server data source name.

Specified by:
setImageDataSourceNameByRef in interface IImageServerInit
Parameters:
ppName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageDataSourceName

public IName getImageDataSourceName()
                             throws java.io.IOException,
                                    AutomationException
The image server data source name.

Specified by:
getImageDataSourceName in interface IImageServerInit
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputDirectory

public void setOutputDirectory(java.lang.String pPath)
                        throws java.io.IOException,
                               AutomationException
The physical directory for output files.

Specified by:
setOutputDirectory in interface IImageServerInit2
Parameters:
pPath - The pPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputDirectory

public java.lang.String getOutputDirectory()
                                    throws java.io.IOException,
                                           AutomationException
The physical directory for output files.

Specified by:
getOutputDirectory in interface IImageServerInit2
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVirtualOutputDirectory

public void setVirtualOutputDirectory(java.lang.String pPath)
                               throws java.io.IOException,
                                      AutomationException
The virtual directory for output files.

Specified by:
setVirtualOutputDirectory in interface IImageServerInit2
Parameters:
pPath - The pPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVirtualOutputDirectory

public java.lang.String getVirtualOutputDirectory()
                                           throws java.io.IOException,
                                                  AutomationException
The virtual directory for output files.

Specified by:
getVirtualOutputDirectory in interface IImageServerInit2
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDownloadDirectory

public void setDownloadDirectory(java.lang.String pPath)
                          throws java.io.IOException,
                                 AutomationException
The physical directory for downloadable files.

Specified by:
setDownloadDirectory in interface IImageServerInit2
Parameters:
pPath - The pPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDownloadDirectory

public java.lang.String getDownloadDirectory()
                                      throws java.io.IOException,
                                             AutomationException
The physical directory for downloadable files.

Specified by:
getDownloadDirectory in interface IImageServerInit2
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVirtualDownloadDirectory

public void setVirtualDownloadDirectory(java.lang.String pPath)
                                 throws java.io.IOException,
                                        AutomationException
The virtual directory for downloading files.

Specified by:
setVirtualDownloadDirectory in interface IImageServerInit2
Parameters:
pPath - The pPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVirtualDownloadDirectory

public java.lang.String getVirtualDownloadDirectory()
                                             throws java.io.IOException,
                                                    AutomationException
The virtual directory for downloading files.

Specified by:
getVirtualDownloadDirectory in interface IImageServerInit2
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDynamicImageWorkspace

public void setDynamicImageWorkspace(java.lang.String pPath)
                              throws java.io.IOException,
                                     AutomationException
The workspace used for adding rasters.

Specified by:
setDynamicImageWorkspace in interface IImageServerInit2
Parameters:
pPath - The pPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDynamicImageWorkspace

public java.lang.String getDynamicImageWorkspace()
                                          throws java.io.IOException,
                                                 AutomationException
The workspace used for adding rasters.

Specified by:
getDynamicImageWorkspace in interface IImageServerInit2
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExcludedFields

public void setExcludedFields(java.lang.String pExcludedFields)
                       throws java.io.IOException,
                              AutomationException
The list of excluded field names.

Specified by:
setExcludedFields in interface IImageServerInit2
Parameters:
pExcludedFields - The pExcludedFields (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExcludedFields

public java.lang.String getExcludedFields()
                                   throws java.io.IOException,
                                          AutomationException
The list of excluded field names.

Specified by:
getExcludedFields in interface IImageServerInit2
Returns:
The pExcludedFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxRecordCount

public int getMaxRecordCount()
                      throws java.io.IOException,
                             AutomationException
The maximum number of records returned for query results (GetCatalog).

Specified by:
getMaxRecordCount in interface IImageServerInit2
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxRecordCount

public void setMaxRecordCount(int count)
                       throws java.io.IOException,
                              AutomationException
The maximum number of records returned for query results (GetCatalog).

Specified by:
setMaxRecordCount in interface IImageServerInit2
Parameters:
count - The count (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxImageWidth

public int getMaxImageWidth()
                     throws java.io.IOException,
                            AutomationException
The maximum width in pixels of an image request.

Specified by:
getMaxImageWidth in interface IImageServerInit2
Returns:
The width
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxImageWidth

public void setMaxImageWidth(int width)
                      throws java.io.IOException,
                             AutomationException
The maximum width in pixels of an image request.

Specified by:
setMaxImageWidth in interface IImageServerInit2
Parameters:
width - The width (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxImageHeight

public int getMaxImageHeight()
                      throws java.io.IOException,
                             AutomationException
The maximum height in pixels of an image request.

Specified by:
getMaxImageHeight in interface IImageServerInit2
Returns:
The height
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxImageHeight

public void setMaxImageHeight(int height)
                       throws java.io.IOException,
                              AutomationException
The maximum height in pixels of an image request.

Specified by:
setMaxImageHeight in interface IImageServerInit2
Parameters:
height - The height (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowedFields

public void setAllowedFields(java.lang.String pAllowedFields)
                      throws java.io.IOException,
                             AutomationException
The list of allowed field names.

Specified by:
setAllowedFields in interface IImageServerInit2
Parameters:
pAllowedFields - The pAllowedFields (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowedFields

public java.lang.String getAllowedFields()
                                  throws java.io.IOException,
                                         AutomationException
The list of allowed field names.

Specified by:
getAllowedFields in interface IImageServerInit2
Returns:
The pAllowedFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowedCompressions

public void setAllowedCompressions(java.lang.String pAllowedCompressions)
                            throws java.io.IOException,
                                   AutomationException
The list of allowed compressions, None, LZ77, and JPEG.

Specified by:
setAllowedCompressions in interface IImageServerInit2
Parameters:
pAllowedCompressions - The pAllowedCompressions (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowedCompressions

public java.lang.String getAllowedCompressions()
                                        throws java.io.IOException,
                                               AutomationException
The list of allowed compressions, None, LZ77, and JPEG.

Specified by:
getAllowedCompressions in interface IImageServerInit2
Returns:
The pAllowedCompressions
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowedMosaicMethods

public void setAllowedMosaicMethods(java.lang.String pAllowedMosaicMethods)
                             throws java.io.IOException,
                                    AutomationException
The list of allowed mosaic methods.

Specified by:
setAllowedMosaicMethods in interface IImageServerInit2
Parameters:
pAllowedMosaicMethods - The pAllowedMosaicMethods (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowedMosaicMethods

public java.lang.String getAllowedMosaicMethods()
                                         throws java.io.IOException,
                                                AutomationException
The list of allowed mosaic methods.

Specified by:
getAllowedMosaicMethods in interface IImageServerInit2
Returns:
The pAllowedMosaicMethods
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowedItemMetadata

public void setAllowedItemMetadata(java.lang.String pAllowedItemMetadata)
                            throws java.io.IOException,
                                   AutomationException
The allowed metadata, None, Basic, and Full.

Specified by:
setAllowedItemMetadata in interface IImageServerInit2
Parameters:
pAllowedItemMetadata - The pAllowedItemMetadata (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowedItemMetadata

public java.lang.String getAllowedItemMetadata()
                                        throws java.io.IOException,
                                               AutomationException
The allowed metadata, None, Basic, and Full.

Specified by:
getAllowedItemMetadata in interface IImageServerInit2
Returns:
The pAllowedItemMetadata
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormapToRGB

public void setColormapToRGB(boolean rhs1)
                      throws java.io.IOException,
                             AutomationException
Indicates if a colormap image is to be converted to RGB.

Specified by:
setColormapToRGB in interface IImageServerInit3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterFunctions

public void setRasterFunctions(java.lang.String rhs1)
                        throws java.io.IOException,
                               AutomationException
A list of comma delimited server raster function names.

Specified by:
setRasterFunctions in interface IImageServerInit3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterTypes

public void setRasterTypes(java.lang.String rhs1)
                    throws java.io.IOException,
                           AutomationException
A list of comma delimited server raster type names.

Specified by:
setRasterTypes in interface IImageServerInit3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUser

public void setUser(java.lang.String rhs1)
             throws java.io.IOException,
                    AutomationException
The current user.

Specified by:
setUser in interface IImageServerInit3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPhysicalCacheDirectory

public void setPhysicalCacheDirectory(java.lang.String pCacheDir)
                               throws java.io.IOException,
                                      AutomationException
The physical directory for cache files.

Specified by:
setPhysicalCacheDirectory in interface IImageServerInit3
Parameters:
pCacheDir - The pCacheDir (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPhysicalCacheDirectory

public java.lang.String getPhysicalCacheDirectory()
                                           throws java.io.IOException,
                                                  AutomationException
The physical directory for cache files.

Specified by:
getPhysicalCacheDirectory in interface IImageServerInit3
Returns:
The pCacheDir
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVirtualCacheDirectory

public void setVirtualCacheDirectory(java.lang.String pVirtualCacheDir)
                              throws java.io.IOException,
                                     AutomationException
The physical directory for cache files.

Specified by:
setVirtualCacheDirectory in interface IImageServerInit3
Parameters:
pVirtualCacheDir - The pVirtualCacheDir (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVirtualCacheDirectory

public java.lang.String getVirtualCacheDirectory()
                                          throws java.io.IOException,
                                                 AutomationException
The physical directory for cache files.

Specified by:
getVirtualCacheDirectory in interface IImageServerInit3
Specified by:
getVirtualCacheDirectory in interface ITiledImageServer
Returns:
The pVirtualCacheDir
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDEMByRef

public void setDEMByRef(IRaster ppDEM)
                 throws java.io.IOException,
                        AutomationException
The DEM for 3D mensuration.

Specified by:
setDEMByRef in interface IImageServerInit3
Parameters:
ppDEM - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDEM

public IRaster getDEM()
               throws java.io.IOException,
                      AutomationException
The DEM for 3D mensuration.

Specified by:
getDEM in interface IImageServerInit3
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeDEM

public void initializeDEM(java.lang.String uRI)
                   throws java.io.IOException,
                          AutomationException
Initialize DEM for 3D mensuration from a DEM file or service.

Specified by:
initializeDEM in interface IImageServerInit3
Parameters:
uRI - The uRI (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getViewID

public java.lang.String getViewID()
                           throws java.io.IOException,
                                  AutomationException
The current image view ID.

Specified by:
getViewID in interface IImageServerInit3
Returns:
The pVID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setViewID

public void setViewID(java.lang.String pVID)
               throws java.io.IOException,
                      AutomationException
The current image view ID.

Specified by:
setViewID in interface IImageServerInit3
Parameters:
pVID - The pVID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getView

public IImageView getView()
                   throws java.io.IOException,
                          AutomationException
The current image view.

Specified by:
getView in interface IImageServerInit3
Returns:
A reference to a com.esri.arcgis.carto.IImageView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setViewByRef

public void setViewByRef(IImageView ppView)
                  throws java.io.IOException,
                         AutomationException
The current image view.

Specified by:
setViewByRef in interface IImageServerInit3
Parameters:
ppView - A reference to a com.esri.arcgis.carto.IImageView (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

defineView

public void defineView(IImageView pView)
                throws java.io.IOException,
                       AutomationException
Defines/creates a new, or overwrites an existing, view.

Specified by:
defineView in interface IImageServerInit3
Parameters:
pView - A reference to a com.esri.arcgis.carto.IImageView (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

project

public void project(ISpatialReference pSpatialReference)
             throws java.io.IOException,
                    AutomationException
Projects into a new spatial reference.

Specified by:
project in interface IImageServerInit3
Parameters:
pSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumImageCellsize

public double getMaximumImageCellsize()
                               throws java.io.IOException,
                                      AutomationException
The maximum source image cellsize.

Specified by:
getMaximumImageCellsize in interface IImageServerInit3
Returns:
The pMaximumCellsize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileCacheInfo

public ITileCacheInfo getTileCacheInfo()
                                throws java.io.IOException,
                                       AutomationException
Gets the cache configuration for a given map.

Specified by:
getTileCacheInfo in interface ITiledImageServer
Returns:
A reference to a com.esri.arcgis.carto.ITileCacheInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageTile

public byte[] getImageTile(int level,
                           int row,
                           int column)
                    throws java.io.IOException,
                           AutomationException
Gets a tile for a given tile location from a given map.

Specified by:
getImageTile in interface ITiledImageServer
Parameters:
level - The level (in)
row - The row (in)
column - The column (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileImageInfo

public ITileImageInfo getTileImageInfo()
                                throws java.io.IOException,
                                       AutomationException
Gets the cache tile image information for a given map.

Specified by:
getTileImageInfo in interface ITiledImageServer
Returns:
A reference to a com.esri.arcgis.carto.ITileImageInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheStorageInfo

public ICacheStorageInfo getCacheStorageInfo()
                                      throws java.io.IOException,
                                             AutomationException
Gets the cache storage information.

Specified by:
getCacheStorageInfo in interface ITiledImageServer
Returns:
A reference to a com.esri.arcgis.carto.ICacheStorageInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFixedScaleImage

public boolean isFixedScaleImage()
                          throws java.io.IOException,
                                 AutomationException
Indicates if a given map is a fixed scale map.

Specified by:
isFixedScaleImage in interface ITiledImageServer
Returns:
The pIsFixedScaleMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheDescriptionInfo

public ICacheDescriptionInfo getCacheDescriptionInfo()
                                              throws java.io.IOException,
                                                     AutomationException
Gets the cache description information for a given map.

Specified by:
getCacheDescriptionInfo in interface ITiledImageServer
Returns:
A reference to a com.esri.arcgis.carto.ICacheDescriptionInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheControlInfo

public ICacheControlInfo getCacheControlInfo()
                                      throws java.io.IOException,
                                             AutomationException
Gets the cache description information for a given map.

Specified by:
getCacheControlInfo in interface ITiledImageServer
Returns:
A reference to a com.esri.arcgis.carto.ICacheControlInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationName

public java.lang.String getConfigurationName()
                                      throws java.io.IOException,
                                             AutomationException
Name of the server object configuration that defines the server object.

Specified by:
getConfigurationName in interface IServerObject
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeName

public java.lang.String getTypeName()
                             throws java.io.IOException,
                                    AutomationException
Type of the server object (MapServer or GeocodeServer).

Specified by:
getTypeName in interface IServerObject
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

construct

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

handleBinaryRequest

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

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

handleStringRequest

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

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

handleBinaryRequest2

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

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

initLogging

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

activate

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

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

deactivate

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

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

findExtensionByCLSID

public IServerObjectExtension findExtensionByCLSID(java.lang.String cLSID)
                                            throws java.io.IOException,
                                                   AutomationException
Returns a server object extension found using a string representation of its class ID.

Specified by:
findExtensionByCLSID in interface IServerObjectExtensionManager
Parameters:
cLSID - The cLSID (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findExtensionByTypeName

public IServerObjectExtension findExtensionByTypeName(java.lang.String name)
                                               throws java.io.IOException,
                                                      AutomationException
Returns a server object extension found using its type name.

Specified by:
findExtensionByTypeName in interface IServerObjectExtensionManager
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

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

getMosaicDataset

public IMosaicDataset getMosaicDataset()
                                throws java.io.IOException,
                                       AutomationException
The mosaic dataset.

Specified by:
getMosaicDataset in interface IImageServerObjects
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IMosaicDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterDataset

public IRasterDataset getRasterDataset()
                                throws java.io.IOException,
                                       AutomationException
The raster dataset.

Specified by:
getRasterDataset in interface IImageServerObjects
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRaster

public IRaster getRaster()
                  throws java.io.IOException,
                         AutomationException
The raster.

Specified by:
getRaster in interface IImageServerObjects
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeDefinition

public ITimeTableDefinition getTimeDefinition()
                                       throws java.io.IOException,
                                              AutomationException
The time definition.

Specified by:
getTimeDefinition in interface IImageServerObjects
Returns:
A reference to a com.esri.arcgis.carto.ITimeTableDefinition
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleRESTRequest

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
Handles REST requests for SOE.

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

Specified by:
handleRESTRequest in interface IRESTRequestHandler
Parameters:
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)
Returns:
Output generated by the SOE
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchema

public java.lang.String getSchema()
                           throws java.io.IOException,
                                  AutomationException
This method returns the resource hierarchy of a REST based SOE. This hierarchy is in JSON format as shown in the example below:

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"]
       }
    ]
  }
 ]
}

Specified by:
getSchema in interface IRESTRequestHandler
Returns:
resource hierarchy of REST SOE, as String
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRasterFunctionTemplate

public IRasterFunctionTemplate toRasterFunctionTemplate(java.lang.String name)
                                                 throws java.io.IOException,
                                                        AutomationException
Constructs a raster function template from a known template name.

Specified by:
toRasterFunctionTemplate in interface IRasterFunctionTemplateMapper
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterFunctionTemplate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.