com.esri.arcgis.carto
Interface IMapCooker2

All Superinterfaces:
IMapCooker, java.io.Serializable
All Known Implementing Classes:
ImageCooker, IMapCooker2Proxy, MapCooker, MapCookerX

public interface IMapCooker2
extends IMapCooker, java.io.Serializable

COM Interface 'IMapCooker2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to more members that controls a map cache generator.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID11f3e86e_9351_4226_a1e8_1a1338a9dcf2
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.carto.IMapCooker
IID842ba25b_fe2f_41a4_8867_b521951a2b34
 
Method Summary
 void deleteByExtent(IMap pMap, ILayer pLayer, IEnvelope pExtent, ILongArray pLevels, ITrackCancel pTrackCancel)
          Deletes cache for a given layer within a given extent.
 void getStatusTileCount(int[] pTileCount)
          number of tiles processed in the current job
 ITileImageInfo getTileImageInfo()
          The map cache tile image info.
 boolean isCacheOnDemand()
          Indicates if the service is cached on demand.
 void setCacheOnDemand(boolean pCacheOnDemand)
          Indicates if the service is cached on demand.
 void setTileImageInfoByRef(ITileImageInfo ppInfo)
          The map cache tile image info.
 void updateByGeometry(IMap pMap, ILayer pLayer, IDisplay pDisplay, IGeometry pGeometry, ILongArray pLevels, int updateMode, ITrackCancel pTrackCancel)
          Deletes cache for a given layer within a given extent.
 void updateMapServerCacheScales(IDoubleArray pScales)
          Updates Map Server's Cache Scales.
 void writeTilingScheme(ITileCacheInfo pCacheInfo, ITileImageInfo pTileImageInfo, java.lang.String cacheDir, java.lang.String layerName)
          Writes the tiling scheme for the service.
 
Methods inherited from interface com.esri.arcgis.carto.IMapCooker
addCachedLayers, addLayer, clear, clearAll, connect, delete, draw, exit, generate, getCacheDirectory, getExtent, getFormat, getMaxTileCount, getNumLevels, getPath, getTile, getTileCacheInfo, hasCache, hasLayerCache, isAntialiasing, putTile, putTilePosition, queryTilePosition, setAntialiasing, setDefaultLODInfos, setExtent, setFormat, setMaxTileCount, setPath, setTileCacheInfoByRef, snap, update
 

Field Detail

IID11f3e86e_9351_4226_a1e8_1a1338a9dcf2

static final int IID11f3e86e_9351_4226_a1e8_1a1338a9dcf2
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getTileImageInfo

ITileImageInfo getTileImageInfo()
                                throws java.io.IOException,
                                       AutomationException
The map cache tile image info.

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.

setTileImageInfoByRef

void setTileImageInfoByRef(ITileImageInfo ppInfo)
                           throws java.io.IOException,
                                  AutomationException
The map cache tile image info.

Parameters:
ppInfo - A reference to a com.esri.arcgis.carto.ITileImageInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCacheOnDemand

void setCacheOnDemand(boolean pCacheOnDemand)
                      throws java.io.IOException,
                             AutomationException
Indicates if the service is cached on demand.

Parameters:
pCacheOnDemand - The pCacheOnDemand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCacheOnDemand

boolean isCacheOnDemand()
                        throws java.io.IOException,
                               AutomationException
Indicates if the service is cached on demand.

Returns:
The pCacheOnDemand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeTilingScheme

void writeTilingScheme(ITileCacheInfo pCacheInfo,
                       ITileImageInfo pTileImageInfo,
                       java.lang.String cacheDir,
                       java.lang.String layerName)
                       throws java.io.IOException,
                              AutomationException
Writes the tiling scheme for the service.

Parameters:
pCacheInfo - A reference to a com.esri.arcgis.carto.ITileCacheInfo (in)
pTileImageInfo - A reference to a com.esri.arcgis.carto.ITileImageInfo (in)
cacheDir - The cacheDir (in)
layerName - The layerName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMapServerCacheScales

void updateMapServerCacheScales(IDoubleArray pScales)
                                throws java.io.IOException,
                                       AutomationException
Updates Map Server's Cache Scales.

Parameters:
pScales - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByExtent

void deleteByExtent(IMap pMap,
                    ILayer pLayer,
                    IEnvelope pExtent,
                    ILongArray pLevels,
                    ITrackCancel pTrackCancel)
                    throws java.io.IOException,
                           AutomationException
Deletes cache for a given layer within a given extent.

Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pLevels - A reference to a com.esri.arcgis.system.ILongArray (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateByGeometry

void updateByGeometry(IMap pMap,
                      ILayer pLayer,
                      IDisplay pDisplay,
                      IGeometry pGeometry,
                      ILongArray pLevels,
                      int updateMode,
                      ITrackCancel pTrackCancel)
                      throws java.io.IOException,
                             AutomationException
Deletes cache for a given layer within a given extent.

Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pLevels - A reference to a com.esri.arcgis.system.ILongArray (in)
updateMode - A com.esri.arcgis.carto.esriMapCacheUpdateMode constant (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatusTileCount

void getStatusTileCount(int[] pTileCount)
                        throws java.io.IOException,
                               AutomationException
number of tiles processed in the current job

Parameters:
pTileCount - The pTileCount (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.