|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.globecore.GlobeServer
public class GlobeServer
COM Class 'GlobeServer'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'
Description 'A Globe Server class that serves Globe Tiles.' 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 |
---|
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.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 |
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServerObjects |
---|
IID, IIDae6300ea_4043_492a_b72c_a61d6656d3d8, xxDummy |
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServerSetup |
---|
IID, IIDaaaed790_cd9d_4007_b4b2_c97fa9e39809, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObject |
---|
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, 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.IRESTRequestHandler |
---|
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy |
Constructor Summary | |
---|---|
GlobeServer()
Constructs a GlobeServer using ArcGIS Engine. |
|
GlobeServer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GlobeServer theGlobeServer = (GlobeServer) obj; |
Method Summary | |
---|---|
void |
activate()
Activates the object. |
void |
construct(IPropertySet props)
Two phase object construction. |
void |
deactivate()
Deactivates the object. |
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. |
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. |
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. |
java.lang.String |
getConfigurationName()
Name of the server object configuration that defines the server object. |
IGlobeDisplay |
getDisplay()
The display used by the Globe Server. |
IPropertySet |
getDocumentInfo()
A set of name-value pairs for properties set for the globe document such as Title, Subject, Author, Category, Keywords and Comments. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ILayer |
getLayer(int layerID)
The layer used by the Globe Server. |
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. |
java.lang.String |
getPhysicalCacheDirectory()
The physical directory for Globe cache. |
java.lang.String |
getPhysicalOutputDirectory()
The physical directory for output files. |
java.lang.String |
getSchema()
This method returns the resource hierarchy of a REST based SOE. |
java.lang.String |
getSOMPhysicalCacheDirectory()
The SOM physical directory for Globe cache. |
java.lang.String |
getSOMVirtualCacheDirectory()
The SOM virtual directory for Globe cache. |
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. |
java.lang.String |
getTypeName()
Type of the server object (MapServer or GeocodeServer). |
float |
getVersion()
The Globe Server version number. |
java.lang.String |
getVirtualCacheDirectory()
The virtual directory for Globe cache. |
java.lang.String |
getVirtualCacheDirectory(int layerID)
Gets the virtual cache directory for a given layer. |
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 |
IGlobeServerIdentifyResults |
identify(int layerID,
int oid,
IGeometry searchShape)
Returns a Globe Server Identify Result object at the given location. |
void |
init(java.lang.String docFile)
Initializes the server from a globe document path. |
void |
initFromLayer(java.lang.String layerFile)
Initializes the server from from a layer file. |
void |
initLogging(ILog log)
Initializes an object with a log. |
void |
release()
Release a GlobeServer. |
void |
setPhysicalCacheDirectory(java.lang.String pPath)
The physical directory for Globe cache. |
void |
setPhysicalOutputDirectory(java.lang.String pPath)
The physical directory for output files. |
void |
setSOMPhysicalCacheDirectory(java.lang.String pPath)
The SOM physical directory for Globe cache. |
void |
setVirtualCacheDirectory(java.lang.String pPath)
The virtual directory for Globe cache. |
void |
setVirtualOutputDirectory(java.lang.String pPath)
The virtual directory for output files. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobeServer() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GlobeServer(java.lang.Object obj) throws java.io.IOException
GlobeServer theGlobeServer = (GlobeServer) obj;
obj
to GlobeServer
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void construct(IPropertySet props) throws java.io.IOException, AutomationException
construct
in interface IObjectConstruct
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest(byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest
in interface IRequestHandler
request
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String handleStringRequest(java.lang.String capabilities, java.lang.String request) throws java.io.IOException, AutomationException
handleStringRequest
in interface IRequestHandler
capabilities
- The capabilities (in)request
- The request (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest2(java.lang.String capabilities, byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest2
in interface IRequestHandler2
capabilities
- The capabilities (in)request
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initLogging(ILog log) throws java.io.IOException, AutomationException
initLogging
in interface ILogSupport
log
- A reference to a com.esri.arcgis.system.ILog (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate() throws java.io.IOException, AutomationException
activate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws java.io.IOException, AutomationException
deactivate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public float getVersion() throws java.io.IOException, AutomationException
getVersion
in interface IGlobeServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerCount(int parentID) throws java.io.IOException, AutomationException
getLayerCount
in interface IGlobeServer
parentID
- The parentID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeLayerInfos getLayerInfos(int parentID) throws java.io.IOException, AutomationException
getLayerInfos
in interface IGlobeServer
parentID
- The parentID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeLegendInfos getLegendInfos(ILongArray layerIDs) throws java.io.IOException, AutomationException
getLegendInfos
in interface IGlobeServer
layerIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getConfig(int layerID) throws java.io.IOException, AutomationException
getConfig
in interface IGlobeServer
layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getMQT(int layerID, int face) throws java.io.IOException, AutomationException
getMQT
in interface IGlobeServer
layerID
- The layerID (in)face
- The face (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getConfiguration(int layerID) throws java.io.IOException, AutomationException
getConfiguration
in interface IGlobeServer
layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getTile(int layerID, int face, int level, int row, int column) throws java.io.IOException, AutomationException
getTile
in interface IGlobeServer
layerID
- The layerID (in)face
- The face (in)level
- The level (in)row
- The row (in)column
- The column (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getSymbols(int layerID, ILongArray pSymbolIDs) throws java.io.IOException, AutomationException
getSymbols
in interface IGlobeServer
layerID
- The layerID (in)pSymbolIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getTextures(int layerID, ILongArray pTextureIDs) throws java.io.IOException, AutomationException
getTextures
in interface IGlobeServer
layerID
- The layerID (in)pTextureIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getAnimation() throws java.io.IOException, AutomationException
getAnimation
in interface IGlobeServer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeServerIdentifyResults identify(int layerID, int oid, IGeometry searchShape) throws java.io.IOException, AutomationException
identify
in interface IGlobeServer
layerID
- The layerID (in)oid
- The oid (in)searchShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeServerFindResults find(int layerID, java.lang.String searchString, boolean contains, java.lang.String searchFields) throws java.io.IOException, AutomationException
find
in interface IGlobeServer
layerID
- The layerID (in)searchString
- The searchString (in)contains
- The contains (in)searchFields
- The searchFields (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualCacheDirectory(int layerID) throws java.io.IOException, AutomationException
getVirtualCacheDirectory
in interface IGlobeServer
layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCacheName(int layerID) throws java.io.IOException, AutomationException
getCacheName
in interface IGlobeServer
layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICacheControlInfo getCacheControlInfo() throws java.io.IOException, AutomationException
getCacheControlInfo
in interface IGlobeServer2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getTexturesEx(int layerID, ILongArray pTextureIDs, boolean getDDT) throws java.io.IOException, AutomationException
getTexturesEx
in interface IGlobeServer3
layerID
- The layerID (in)pTextureIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)getDDT
- The getDDT (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getDocumentInfo() throws java.io.IOException, AutomationException
getDocumentInfo
in interface IGlobeServer4
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int layerID) throws java.io.IOException, AutomationException
getLayer
in interface IGlobeServerObjects
layerID
- The layerID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeDisplay getDisplay() throws java.io.IOException, AutomationException
getDisplay
in interface IGlobeServerObjects
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void init(java.lang.String docFile) throws java.io.IOException, AutomationException
init
in interface IGlobeServerSetup
docFile
- The docFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initFromLayer(java.lang.String layerFile) throws java.io.IOException, AutomationException
initFromLayer
in interface IGlobeServerSetup
layerFile
- The layerFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPhysicalOutputDirectory(java.lang.String pPath) throws java.io.IOException, AutomationException
setPhysicalOutputDirectory
in interface IGlobeServerSetup
pPath
- The pPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalOutputDirectory() throws java.io.IOException, AutomationException
getPhysicalOutputDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVirtualOutputDirectory(java.lang.String pPath) throws java.io.IOException, AutomationException
setVirtualOutputDirectory
in interface IGlobeServerSetup
pPath
- The pPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualOutputDirectory() throws java.io.IOException, AutomationException
getVirtualOutputDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPhysicalCacheDirectory(java.lang.String pPath) throws java.io.IOException, AutomationException
setPhysicalCacheDirectory
in interface IGlobeServerSetup
pPath
- The pPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalCacheDirectory() throws java.io.IOException, AutomationException
getPhysicalCacheDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSOMPhysicalCacheDirectory(java.lang.String pPath) throws java.io.IOException, AutomationException
setSOMPhysicalCacheDirectory
in interface IGlobeServerSetup
pPath
- The pPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSOMPhysicalCacheDirectory() throws java.io.IOException, AutomationException
getSOMPhysicalCacheDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVirtualCacheDirectory(java.lang.String pPath) throws java.io.IOException, AutomationException
setVirtualCacheDirectory
in interface IGlobeServerSetup
pPath
- The pPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVirtualCacheDirectory() throws java.io.IOException, AutomationException
getVirtualCacheDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSOMVirtualCacheDirectory() throws java.io.IOException, AutomationException
getSOMVirtualCacheDirectory
in interface IGlobeServerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConfigurationName() throws java.io.IOException, AutomationException
getConfigurationName
in interface IServerObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTypeName() throws java.io.IOException, AutomationException
getTypeName
in interface IServerObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByCLSID(java.lang.String cLSID) throws java.io.IOException, AutomationException
findExtensionByCLSID
in interface IServerObjectExtensionManager
cLSID
- The cLSID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByTypeName(java.lang.String name) throws java.io.IOException, AutomationException
findExtensionByTypeName
in interface IServerObjectExtensionManager
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleRESTRequest(java.lang.String capabilities, java.lang.String resourceName, java.lang.String operationName, java.lang.String operationInput, java.lang.String outputFormat, java.lang.String requestProperties, java.lang.String[] responseProperties) throws java.io.IOException, AutomationException
This method is invoked by ArcGIS Server's REST handler, which intercepts client's request (in URL form), parses it and passes it on to this method in form of parameter values.
The REST SOE developer must add logic to use these parameter values to determine which resource/operation is being requested and accordingly handle these requests and generate responses in the output format indicated by the "outputFormat" parameter. For more information on developing REST SOEs, please consult the Java ArcObjects Developer Guide.
Developer doc: Developing extensions > Server Object Extensions > SOE Web Services > REST Web Services > Developing SOE REST Web Services
Samples: Samples > Server Object Extensions section
handleRESTRequest
in interface IRESTRequestHandler
capabilities
- The capabilities supported by the SOE. An admin can choose which
capabilities are enabled on a particular SOE (in ArcGIS Manager or ArcCatalog), based on certain criteria such as security roles.
This list of allowed capabilities is then sent to this method, at runtime, as a comma separated list. (in)resourceName
- Name of the resource being addressed. If empty, its assumed
that root resource is being addressed. (in)operationName
- Name of the operation being invoked. If empty, description of
resource is returned. (in)operationInput
- Input parameters, in form of comma separated list, to the operation specified by operationName parameter. (in)outputFormat
- OutputFormat of operation. Possible formats are JSON, HTML, AMF, etc. (in)requestProperties
- The requestProperties (in)responseProperties
- The responseProperties (out)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSchema() throws java.io.IOException, AutomationException
For an SOE that has a root resource (called "root") with one operation ("operation0"), and 2 sub-resources with one operation each ("operation1" and "operation2" respectively), the schema would look like:
{
"name": "MyRESTSOE",
"description": "My REST SOE with 3 resources and 1 operation each.",
"isCollection": false,
"operations": [
{
"name": "operation0",
"parameters": ["param01"],
"supportedOutputFormats": ["json"]
}
],
"resources": [
{
"name": "subresource1",
"description": "Sub Resource 1",
"isCollection": true,
"operations": [
{
"name": "operation1",
"parameters": ["param10", "param11"],
"supportedOutputFormats": ["json"]
}
]
},
{
"name": "subresource2",
"description": "Sub Resource 2",
"isCollection": true,
"operations": [
{
"name": "operation2",
"parameters": ["param20", "param21"],
"supportedOutputFormats": ["json"]
}
]
}
]
}
getSchema
in interface IRESTRequestHandler
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |