com.esri.arcgis.globecore
Class GlobeServerLP

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerLP
All Implemented Interfaces:
IAGSServerObject, IAGSServerObject2, IGlobeServer, IGlobeServer2, IGlobeServer3, IGlobeServer4, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GlobeServerLP
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObject2, IAGSServerObject, IGlobeServer, IGlobeServer2, IGlobeServer3, IGlobeServer4

COM Class 'GlobeServerLP'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

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.gisclient.IAGSServerObject2
IID, IID2e07daa3_6dec_4dc3_a7ed_2f29e2ecfe4a, xxDummy
 
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerObject
IID7c25fb69_eac4_433c_b08c_7ae39e83ffbd
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServer4
IID, IID0e2de26a_4352_4176_a718_e19816cd86c5, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServer3
IIDa0534365_9cce_4e17_b70c_0d576cafd05f
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServer2
IID2e39bd80_46e9_4291_b658_2abbdafc9ffa
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServer
IIDf44327ec_f03e_4f7a_8094_a5eaa0c15666
 
Constructor Summary
GlobeServerLP()
          Constructs a GlobeServerLP using ArcGIS Engine.
GlobeServerLP(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerLP theGlobeServerLP = (GlobeServerLP) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGlobeServerFindResults find(int layerID, java.lang.String searchString, boolean contains, java.lang.String searchFields)
          Returns a Globe Server Find Result object that contain the given search string.
 byte[] getAnimation()
          Gets the animation stream.
 ICacheControlInfo getCacheControlInfo()
          Returns cache related properties of the a GlobeServer.
 java.lang.String getCacheName(int layerID)
          Gets the virtual cache directory for a given layer.
static java.lang.String getClsid()
          getClsid.
 byte[] getConfig(int layerID)
          Gets the configuration file from a given layer.
 byte[] getConfiguration(int layerID)
          Gets all the configuration and MQT files from a given layer.
 IPropertySet getDocumentInfo()
          A set of name-value pairs for properties set for the globe document such as Title, Subject, Author, Category, Keywords and Comments.
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getLayerCount(int parentID)
          The number of layers in the server under a certain parent.
 IGlobeLayerInfos getLayerInfos(int parentID)
          A collection of Globe Layer Info objects.
 IGlobeLegendInfos getLegendInfos(ILongArray layerIDs)
          Returns a collection of Globe Legend Info objects for the specified layers.
 byte[] getMQT(int layerID, int face)
          Gets the MQT for a given face from a given layer.
 byte[] getSymbols(int layerID, ILongArray pSymbolIDs)
          Gets the symbols with given IDs.
 byte[] getTextures(int layerID, ILongArray pTextureIDs)
          Gets the textures with given IDs.
 byte[] getTexturesEx(int layerID, ILongArray pTextureIDs, boolean getDDT)
          Gets the textures with given IDs.
 byte[] getTile(int layerID, int face, int level, int row, int column)
          Gets a tile for a given tile location from a given layer.
 float getVersion()
          The Globe Server version number.
 java.lang.String getVirtualCacheDirectory(int layerID)
          Gets the virtual cache directory for a given layer.
 int hashCode()
          the hashcode for this object
 IGlobeServerIdentifyResults identify(int layerID, int oid, IGeometry searchShape)
          Returns a Globe Server Identify Result object at the given location.
 void release()
          Release a GlobeServerLP.
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeServerLP

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

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

GlobeServerLP

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

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

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

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

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Specified by:
getFullName in interface IAGSServerObject2
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.

setHttpTimeout

public void setHttpTimeout(int secs)
                    throws java.io.IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

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

getHttpTimeout

public int getHttpTimeout()
                   throws java.io.IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

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

getVersion

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

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

getLayerCount

public int getLayerCount(int parentID)
                  throws java.io.IOException,
                         AutomationException
The number of layers in the server under a certain parent.

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

getLayerInfos

public IGlobeLayerInfos getLayerInfos(int parentID)
                               throws java.io.IOException,
                                      AutomationException
A collection of Globe Layer Info objects.

Specified by:
getLayerInfos in interface IGlobeServer
Parameters:
parentID - The parentID (in)
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeLayerInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLegendInfos

public IGlobeLegendInfos getLegendInfos(ILongArray layerIDs)
                                 throws java.io.IOException,
                                        AutomationException
Returns a collection of Globe Legend Info objects for the specified layers. If layerIDs is Nothing/Null or empty, legend information for all layers is returned.

Specified by:
getLegendInfos in interface IGlobeServer
Parameters:
layerIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeLegendInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfig

public byte[] getConfig(int layerID)
                 throws java.io.IOException,
                        AutomationException
Gets the configuration file from a given layer.

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

getMQT

public byte[] getMQT(int layerID,
                     int face)
              throws java.io.IOException,
                     AutomationException
Gets the MQT for a given face from a given layer.

Specified by:
getMQT in interface IGlobeServer
Parameters:
layerID - The layerID (in)
face - The face (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfiguration

public byte[] getConfiguration(int layerID)
                        throws java.io.IOException,
                               AutomationException
Gets all the configuration and MQT files from a given layer.

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

getTile

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

Specified by:
getTile in interface IGlobeServer
Parameters:
layerID - The layerID (in)
face - The face (in)
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.

getSymbols

public byte[] getSymbols(int layerID,
                         ILongArray pSymbolIDs)
                  throws java.io.IOException,
                         AutomationException
Gets the symbols with given IDs.

Specified by:
getSymbols in interface IGlobeServer
Parameters:
layerID - The layerID (in)
pSymbolIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextures

public byte[] getTextures(int layerID,
                          ILongArray pTextureIDs)
                   throws java.io.IOException,
                          AutomationException
Gets the textures with given IDs.

Specified by:
getTextures in interface IGlobeServer
Parameters:
layerID - The layerID (in)
pTextureIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAnimation

public byte[] getAnimation()
                    throws java.io.IOException,
                           AutomationException
Gets the animation stream.

Specified by:
getAnimation in interface IGlobeServer
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

identify

public IGlobeServerIdentifyResults identify(int layerID,
                                            int oid,
                                            IGeometry searchShape)
                                     throws java.io.IOException,
                                            AutomationException
Returns a Globe Server Identify Result object at the given location.

Specified by:
identify in interface IGlobeServer
Parameters:
layerID - The layerID (in)
oid - The oid (in)
searchShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeServerIdentifyResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public IGlobeServerFindResults find(int layerID,
                                    java.lang.String searchString,
                                    boolean contains,
                                    java.lang.String searchFields)
                             throws java.io.IOException,
                                    AutomationException
Returns a Globe Server Find Result object that contain the given search string.

Specified by:
find in interface IGlobeServer
Parameters:
layerID - The layerID (in)
searchString - The searchString (in)
contains - The contains (in)
searchFields - The searchFields (in)
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeServerFindResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVirtualCacheDirectory

public java.lang.String getVirtualCacheDirectory(int layerID)
                                          throws java.io.IOException,
                                                 AutomationException
Gets the virtual cache directory for a given layer.

Specified by:
getVirtualCacheDirectory in interface IGlobeServer
Parameters:
layerID - The layerID (in)
Returns:
The pUrl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheName

public java.lang.String getCacheName(int layerID)
                              throws java.io.IOException,
                                     AutomationException
Gets the virtual cache directory for a given layer.

Specified by:
getCacheName in interface IGlobeServer
Parameters:
layerID - The layerID (in)
Returns:
The pName
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
Returns cache related properties of the a GlobeServer.

Specified by:
getCacheControlInfo in interface IGlobeServer2
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.

getTexturesEx

public byte[] getTexturesEx(int layerID,
                            ILongArray pTextureIDs,
                            boolean getDDT)
                     throws java.io.IOException,
                            AutomationException
Gets the textures with given IDs.

Specified by:
getTexturesEx in interface IGlobeServer3
Parameters:
layerID - The layerID (in)
pTextureIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
getDDT - The getDDT (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocumentInfo

public IPropertySet getDocumentInfo()
                             throws java.io.IOException,
                                    AutomationException
A set of name-value pairs for properties set for the globe document such as Title, Subject, Author, Category, Keywords and Comments.

Specified by:
getDocumentInfo in interface IGlobeServer4
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.