com.esri.arcgis.globecore
Class GlobeServerGroupLayer

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerGroupLayer
All Implemented Interfaces:
IGlobeServerGroupLayer, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, Externalizable, Serializable

public class GlobeServerGroupLayer
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeServerGroupLayer, IPersist, IPersistStream, Externalizable

Provides access to a globe server group layer.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GlobeServerGroupLayer()
          Constructs a GlobeServerGroupLayer using ArcGIS Engine.
GlobeServerGroupLayer(Object obj)
          Construct a GlobeServerGroupLayer using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void connect(IAGSServerObjectName pServerObjectName, IGlobeLayerInfo pLayerInfo)
          Connects to a Globe server given a server object name.
 boolean equals(Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static String getClsid()
          getClsid.
 IGlobeServer getGlobeServer()
          The GlobeServer object of this layer.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 int hashCode()
          the hashcode for this object
 boolean isBlending()
          Indicates if this group layer should be consolidated by blending.
 void isDirty()
          isDirty
 boolean isHasConsolidatedCache()
          Indicates if this group layer has its own cache.
 void load(IStream pstm)
          load
 void readExternal(ObjectInput in)
           
 void save(IStream pstm, int fClearDirty)
          save
 void setBlending(boolean pvbBlending)
          Indicates if this group layer should be consolidated by blending.
 void setHasConsolidatedCache(boolean pvbHasCache)
          Indicates if this group layer has its own cache.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

GlobeServerGroupLayer

public GlobeServerGroupLayer()
                      throws IOException,
                             UnknownHostException
Constructs a GlobeServerGroupLayer using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GlobeServerGroupLayer

public GlobeServerGroupLayer(Object obj)
                      throws IOException
Construct a GlobeServerGroupLayer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeServerGroupLayer.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems GlobeServerGroupLayer theGlobeServerGroupLayer = (GlobeServerGroupLayer) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

connect

public void connect(IAGSServerObjectName pServerObjectName,
                    IGlobeLayerInfo pLayerInfo)
             throws IOException,
                    AutomationException
Connects to a Globe server given a server object name.

Product Availability

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

Specified by:
connect in interface IGlobeServerGroupLayer
Parameters:
pServerObjectName - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
pLayerInfo - A reference to a com.esri.arcgis.globecore.IGlobeLayerInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobeServer

public IGlobeServer getGlobeServer()
                            throws IOException,
                                   AutomationException
The GlobeServer object of this layer.

Product Availability

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

Specified by:
getGlobeServer in interface IGlobeServerGroupLayer
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeServer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasConsolidatedCache

public boolean isHasConsolidatedCache()
                               throws IOException,
                                      AutomationException
Indicates if this group layer has its own cache.

Product Availability

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

Specified by:
isHasConsolidatedCache in interface IGlobeServerGroupLayer
Returns:
The pvbHasCache
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHasConsolidatedCache

public void setHasConsolidatedCache(boolean pvbHasCache)
                             throws IOException,
                                    AutomationException
Indicates if this group layer has its own cache.

Product Availability

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

Specified by:
setHasConsolidatedCache in interface IGlobeServerGroupLayer
Parameters:
pvbHasCache - The pvbHasCache (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBlending

public boolean isBlending()
                   throws IOException,
                          AutomationException
Indicates if this group layer should be consolidated by blending.

Product Availability

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

Specified by:
isBlending in interface IGlobeServerGroupLayer
Returns:
The pvbBlending
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlending

public void setBlending(boolean pvbBlending)
                 throws IOException,
                        AutomationException
Indicates if this group layer should be consolidated by blending.

Product Availability

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

Specified by:
setBlending in interface IGlobeServerGroupLayer
Parameters:
pvbBlending - The pvbBlending (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
getClassID

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws IOException,
                    AutomationException
isDirty

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDirty in interface IPersistStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws IOException,
                 AutomationException
load

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
save

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
getSizeMax

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException