com.esri.arcgis.arcglobe
Class GlobeDeployment

java.lang.Object
  extended by com.esri.arcgis.arcglobe.GlobeDeployment
All Implemented Interfaces:
IGlobeDeployment, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GlobeDeployment
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeDeployment

COM Class 'GlobeDeployment'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcGlobe.olb'

Description 'The ArcGlobe deployment object.' 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.arcglobe.IGlobeDeployment
IID, IID66b1ce61_2520_4c7c_9929_9d5e3e764e29, xxDummy
 
Constructor Summary
GlobeDeployment()
          Constructs a GlobeDeployment using ArcGIS Engine.
GlobeDeployment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeDeployment theGlobeDeployment = (GlobeDeployment) obj;
 
Method Summary
 void addLayer(ILayer pLayer)
          Adds a layer to be deployed.
 void deploy()
          Perform the deployment operations.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getCacheOp(ILayer pLayer, int[] pOp)
          The operation to be performed with the cache of a layer.
 void getCacheOpByIndex(int iLayer, int[] pOp)
          The operation to be performed with the cache of a layer by index.
 void getCachePath(ILayer pLayer, java.lang.String[] pPath, java.lang.String[] foldername)
          The deployment cache for a layer.
 void getCachePathByIndex(int iLayer, java.lang.String[] pPath, java.lang.String[] foldername)
          The deployment cache path of a layer by index.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDefaultCacheLocation()
          The default location for setting/copying the caches.
 IGMxDocument getDocument()
          The deployed document.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLayer(int iLayer, ILayer[] ppLayer)
          Gets a layer by index.
 int getLayerCount()
          The number of layers to be deployed.
 void getLocalPath(java.lang.String absPath, java.lang.String[] locPath)
          The local path corresponding to the given absolute path.
 int getPathTableCount()
          The number of different cache paths accumulated.
 java.lang.String getSaveDocumentName()
          The full name of the new document to be saved.
 java.lang.String getSummary(boolean bEstimateSizes)
          The text summary describing the deployment configuration.
 void getTablePath(int index, java.lang.String[] pAbsPath, java.lang.String[] pLocPath)
          Get each of the absolute and local cache paths accumulated.
 int hashCode()
          the hashcode for this object
 boolean isSaveNewDocument()
          Indicates whether a new document will be saved as opposed to modifying the current one.
 boolean isUseLocalPaths()
          Indicates whether to use internal local paths for data caches, given by the path table.
 void putCacheOp(ILayer pLayer, int op)
          The operation to be performed with the cache.
 void putCachePath(ILayer pLayer, java.lang.String path, java.lang.String foldername)
          The deployment cache for a layer.
 void putTablePath(java.lang.String absPath, java.lang.String locPath)
          Set an entry in the path table.
 void release()
          Release a GlobeDeployment.
 void removeAllLayers()
          Removes all layers from the deployment list.
 void removeLayer(ILayer pLayer)
          Removes a layer from the deployment list.
 void setDefaultCacheLocation(java.lang.String pName)
          The default location for setting/copying the caches.
 void setDocument(IGMxDocument ppDoc)
          The deployed document.
 void setSaveDocumentName(java.lang.String pName)
          The full name of the new document to be saved.
 void setSaveNewDocument(boolean pbSaveNew)
          Indicates whether a new document will be saved as opposed to modifying the current one.
 void setUseLocalPaths(boolean pbUse)
          Indicates whether to use internal local paths for data caches, given by the path table.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeDeployment

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

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

GlobeDeployment

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

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

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 GlobeDeployment.

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

setDocument

public void setDocument(IGMxDocument ppDoc)
                 throws java.io.IOException,
                        AutomationException
The deployed document.

Specified by:
setDocument in interface IGlobeDeployment
Parameters:
ppDoc - A reference to a com.esri.arcgis.arcglobe.IGMxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocument

public IGMxDocument getDocument()
                         throws java.io.IOException,
                                AutomationException
The deployed document.

Specified by:
getDocument in interface IGlobeDeployment
Returns:
A reference to a com.esri.arcgis.arcglobe.IGMxDocument
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSaveNewDocument

public void setSaveNewDocument(boolean pbSaveNew)
                        throws java.io.IOException,
                               AutomationException
Indicates whether a new document will be saved as opposed to modifying the current one.

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

isSaveNewDocument

public boolean isSaveNewDocument()
                          throws java.io.IOException,
                                 AutomationException
Indicates whether a new document will be saved as opposed to modifying the current one.

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

setSaveDocumentName

public void setSaveDocumentName(java.lang.String pName)
                         throws java.io.IOException,
                                AutomationException
The full name of the new document to be saved.

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

getSaveDocumentName

public java.lang.String getSaveDocumentName()
                                     throws java.io.IOException,
                                            AutomationException
The full name of the new document to be saved.

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

setDefaultCacheLocation

public void setDefaultCacheLocation(java.lang.String pName)
                             throws java.io.IOException,
                                    AutomationException
The default location for setting/copying the caches.

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

getDefaultCacheLocation

public java.lang.String getDefaultCacheLocation()
                                         throws java.io.IOException,
                                                AutomationException
The default location for setting/copying the caches.

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

addLayer

public void addLayer(ILayer pLayer)
              throws java.io.IOException,
                     AutomationException
Adds a layer to be deployed.

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

removeLayer

public void removeLayer(ILayer pLayer)
                 throws java.io.IOException,
                        AutomationException
Removes a layer from the deployment list.

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

removeAllLayers

public void removeAllLayers()
                     throws java.io.IOException,
                            AutomationException
Removes all layers from the deployment list.

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

getLayerCount

public int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
The number of layers to be deployed.

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

getLayer

public void getLayer(int iLayer,
                     ILayer[] ppLayer)
              throws java.io.IOException,
                     AutomationException
Gets a layer by index.

Specified by:
getLayer in interface IGlobeDeployment
Parameters:
iLayer - The iLayer (in)
ppLayer - A reference to a com.esri.arcgis.carto.ILayer (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putCachePath

public void putCachePath(ILayer pLayer,
                         java.lang.String path,
                         java.lang.String foldername)
                  throws java.io.IOException,
                         AutomationException
The deployment cache for a layer.

Specified by:
putCachePath in interface IGlobeDeployment
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
path - The path (in)
foldername - The foldername (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCachePath

public void getCachePath(ILayer pLayer,
                         java.lang.String[] pPath,
                         java.lang.String[] foldername)
                  throws java.io.IOException,
                         AutomationException
The deployment cache for a layer.

Specified by:
getCachePath in interface IGlobeDeployment
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pPath - The pPath (out: use single element array)
foldername - The foldername (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCachePathByIndex

public void getCachePathByIndex(int iLayer,
                                java.lang.String[] pPath,
                                java.lang.String[] foldername)
                         throws java.io.IOException,
                                AutomationException
The deployment cache path of a layer by index.

Specified by:
getCachePathByIndex in interface IGlobeDeployment
Parameters:
iLayer - The iLayer (in)
pPath - The pPath (out: use single element array)
foldername - The foldername (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putCacheOp

public void putCacheOp(ILayer pLayer,
                       int op)
                throws java.io.IOException,
                       AutomationException
The operation to be performed with the cache.

Specified by:
putCacheOp in interface IGlobeDeployment
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
op - A com.esri.arcgis.arcglobe.esriGlobeDeployCacheOp constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheOp

public void getCacheOp(ILayer pLayer,
                       int[] pOp)
                throws java.io.IOException,
                       AutomationException
The operation to be performed with the cache of a layer.

Specified by:
getCacheOp in interface IGlobeDeployment
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pOp - A com.esri.arcgis.arcglobe.esriGlobeDeployCacheOp constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheOpByIndex

public void getCacheOpByIndex(int iLayer,
                              int[] pOp)
                       throws java.io.IOException,
                              AutomationException
The operation to be performed with the cache of a layer by index.

Specified by:
getCacheOpByIndex in interface IGlobeDeployment
Parameters:
iLayer - The iLayer (in)
pOp - A com.esri.arcgis.arcglobe.esriGlobeDeployCacheOp constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseLocalPaths

public boolean isUseLocalPaths()
                        throws java.io.IOException,
                               AutomationException
Indicates whether to use internal local paths for data caches, given by the path table.

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

setUseLocalPaths

public void setUseLocalPaths(boolean pbUse)
                      throws java.io.IOException,
                             AutomationException
Indicates whether to use internal local paths for data caches, given by the path table.

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

getPathTableCount

public int getPathTableCount()
                      throws java.io.IOException,
                             AutomationException
The number of different cache paths accumulated.

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

getTablePath

public void getTablePath(int index,
                         java.lang.String[] pAbsPath,
                         java.lang.String[] pLocPath)
                  throws java.io.IOException,
                         AutomationException
Get each of the absolute and local cache paths accumulated.

Specified by:
getTablePath in interface IGlobeDeployment
Parameters:
index - The index (in)
pAbsPath - The pAbsPath (out: use single element array)
pLocPath - The pLocPath (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putTablePath

public void putTablePath(java.lang.String absPath,
                         java.lang.String locPath)
                  throws java.io.IOException,
                         AutomationException
Set an entry in the path table.

Specified by:
putTablePath in interface IGlobeDeployment
Parameters:
absPath - The absPath (in)
locPath - The locPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocalPath

public void getLocalPath(java.lang.String absPath,
                         java.lang.String[] locPath)
                  throws java.io.IOException,
                         AutomationException
The local path corresponding to the given absolute path.

Specified by:
getLocalPath in interface IGlobeDeployment
Parameters:
absPath - The absPath (in)
locPath - The locPath (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSummary

public java.lang.String getSummary(boolean bEstimateSizes)
                            throws java.io.IOException,
                                   AutomationException
The text summary describing the deployment configuration.

Specified by:
getSummary in interface IGlobeDeployment
Parameters:
bEstimateSizes - The bEstimateSizes (in)
Returns:
The pSummary
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deploy

public void deploy()
            throws java.io.IOException,
                   AutomationException
Perform the deployment operations.

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