|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GxDataServer
public class GxDataServer
The one and only Data Server object.
Constructor Summary | |
---|---|
GxDataServer()
Constructs a GxDataServer using ArcGIS Engine. |
|
GxDataServer(Object obj)
Construct a GxDataServer using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
IGxObject |
addChild(IGxObject child)
Adds a new child and returns a reference to it. |
void |
attach(IGxObject parent,
IGxCatalog pCatalog)
Attaches the object to its parent and the catalog. |
void |
attachGeoDatabase(String gdbName,
String gdbFileName)
Attaches a Geodatabase. |
void |
connect()
Connects to a GIS Data server. |
void |
createGeoDatabase(String gdbName,
String gdbFileName,
int gdbFileSize)
Creates a new Geodatabase. |
void |
deleteChild(IGxObject child)
Deletes the specified child object. |
void |
detach()
Instructs the object to detach itself from its parent and the catalog. |
void |
disconnect()
Disconnects from a GIS Data server. |
boolean |
equals(Object o)
Compare this object with another |
String |
getBaseName()
The base name of the object (i.e. |
String |
getCategory()
The category of the object. |
IEnumGxObject |
getChildren()
An enumeration of the child objects. |
IUID |
getClassID()
The class ID of this object. |
static String |
getClsid()
getClsid. |
IUID |
getContextMenu()
The class ID of the context menu for this object. |
Object |
getDataServerManager()
The Data Server Manager object. |
String |
getFullName()
The full name of the object. |
IName |
getInternalObjectName()
The Name for the internal object that this GxObject represents. |
int |
getLargeImage()
The large image that represents the object. |
int |
getLargeSelectedImage()
The large image that represents the object when it is selected. |
String |
getName()
The short name of the object. |
IUID |
getNewMenu()
The class ID of the New menu for this object. |
IGxObject |
getParent()
The parent of the object. |
void |
getPropByIndex(int index,
String[] name,
Object[] value)
The name and value of the indexed property in the GxObject. |
Object |
getProperty(String name)
The value of the named property in the GxObject. |
int |
getPropertyCount()
The number of properties in the GxObject. |
String |
getServerName()
The server name. |
int |
getSmallImage()
The small image that represents the object. |
int |
getSmallSelectedImage()
The small image that represents the object when it is selected. |
int |
hashCode()
the hashcode for this object |
boolean |
isAdministrator()
Indicates whether the connected user is an administrator or not. |
boolean |
isAreChildrenViewable()
Indicates if the objects children are available for viewing in the tree-view. |
boolean |
isConnected()
Indicates whether the GIS Data server connection has been made. |
boolean |
isHasChildren()
Indicates if the object has any children. |
boolean |
isValid()
Indicates if the object is still valid. |
void |
pause()
Pauses a Database server. |
void |
refresh()
Updates the object and any children of the object. |
void |
restoreGeodatabase(String gdbName,
String backupFileName,
String dbFileName)
Restores a backup to the specified Geodatabase. |
void |
resume()
Resumes a Database server. |
void |
setProperty(String name,
Object value)
Set the value of the named property in the GxObject. |
void |
start()
Starts a Database server. |
void |
stop()
Stops a Database server. |
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 |
---|
public GxDataServer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxDataServer(Object obj) throws IOException
obj
to GxDataServer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GxDataServer theGxDataServer = (GxDataServer) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFullName() throws IOException, AutomationException
getFullName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getBaseName() throws IOException, AutomationException
getBaseName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getParent() throws IOException, AutomationException
getParent
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
getClassID
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getInternalObjectName() throws IOException, AutomationException
getInternalObjectName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attach(IGxObject parent, IGxCatalog pCatalog) throws IOException, AutomationException
attach
in interface IGxObject
parent
- A reference to a com.esri.arcgis.catalog.IGxObject (in)pCatalog
- A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void detach() throws IOException, AutomationException
detach
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallImage() throws IOException, AutomationException
getSmallImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallSelectedImage() throws IOException, AutomationException
getSmallSelectedImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeImage() throws IOException, AutomationException
getLargeImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeSelectedImage() throws IOException, AutomationException
getLargeSelectedImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getContextMenu() throws IOException, AutomationException
getContextMenu
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getNewMenu() throws IOException, AutomationException
getNewMenu
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPropertyCount() throws IOException, AutomationException
getPropertyCount
in interface IGxObjectProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPropByIndex(int index, String[] name, Object[] value) throws IOException, AutomationException
getPropByIndex
in interface IGxObjectProperties
index
- The index (in)name
- The name (in/out: use single element array)value
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getProperty(String name) throws IOException, AutomationException
getProperty
in interface IGxObjectProperties
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProperty(String name, Object value) throws IOException, AutomationException
setProperty
in interface IGxObjectProperties
name
- The name (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChildren() throws IOException, AutomationException
Note: This property always return True even when it has no children. This was done to improve the overall ArcCatalog browsing performance.
isHasChildren
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getChildren() throws IOException, AutomationException
getChildren
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAreChildrenViewable() throws IOException, AutomationException
isAreChildrenViewable
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject addChild(IGxObject child) throws IOException, AutomationException
addChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteChild(IGxObject child) throws IOException, AutomationException
deleteChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isConnected() throws IOException, AutomationException
isConnected
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAdministrator() throws IOException, AutomationException
isAdministrator
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect() throws IOException, AutomationException
connect
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws IOException, AutomationException
disconnect
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServerName() throws IOException, AutomationException
getServerName
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDataServerManager() throws IOException, AutomationException
getDataServerManager
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createGeoDatabase(String gdbName, String gdbFileName, int gdbFileSize) throws IOException, AutomationException
createGeoDatabase
in interface IGxGDSConnection
gdbName
- The gdbName (in)gdbFileName
- The gdbFileName (in)gdbFileSize
- The gdbFileSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attachGeoDatabase(String gdbName, String gdbFileName) throws IOException, AutomationException
attachGeoDatabase
in interface IGxGDSConnection
gdbName
- The gdbName (in)gdbFileName
- The gdbFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreGeodatabase(String gdbName, String backupFileName, String dbFileName) throws IOException, AutomationException
restoreGeodatabase
in interface IGxGDSConnection
gdbName
- The gdbName (in)backupFileName
- The backupFileName (in)dbFileName
- The dbFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void start() throws IOException, AutomationException
start
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stop() throws IOException, AutomationException
stop
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resume() throws IOException, AutomationException
resume
in interface IGxGDSConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pause() throws IOException, AutomationException
pause
in interface IGxGDSConnection
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 |