|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GxAGSConnection
public class GxAGSConnection
COM Class 'GxAGSConnection'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'
Description 'GxObject that represents an ArcGIS Server connection.' 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.catalog.IGxObject |
---|
IID, IIDbdbbb3eb_d0b2_11d1_aed9_080009ec734b, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectContainer |
---|
IID, IID7273aa58_e6f9_11d2_9f30_00c04f6bc69e, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxAGSConnection |
---|
IID, IID85e89175_26ef_490b_8fcc_9363399275bb, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo |
---|
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectEdit |
---|
IID, IIDbdbbb3fc_d0b2_11d1_aed9_080009ec734b, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectProperties |
---|
IID, IIDd342626e_f9da_11d3_a68d_0008c7d3ae8d, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectUI |
---|
IID, IID7273aa57_e6f9_11d2_9f30_00c04f6bc69e, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectWizard |
---|
IID, IIDc6df682d_a28c_476a_924c_44d1194cf78d, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxPasteTarget |
---|
IID, IIDbdbbb403_d0b2_11d1_aed9_080009ec734b, xxDummy |
Fields inherited from interface com.esri.arcgis.catalog.IGxRemoteConnection |
---|
IID, IID3f5c143c_8e15_40c7_8ce8_f67289c6842a, xxDummy |
Constructor Summary | |
---|---|
GxAGSConnection()
Constructs a GxAGSConnection using ArcGIS Engine. |
|
GxAGSConnection(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GxAGSConnection theGxAGSConnection = (GxAGSConnection) obj; |
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. |
boolean |
canCopy()
Indicates if the object can be copied. |
boolean |
canDelete()
Indicates if the object can be deleted. |
boolean |
canPaste(IEnumName names,
boolean[] moveOperation)
Indicates if the specified names may be pasted into this object. |
boolean |
canRename()
Indicates if the object can be renamed. |
void |
connect()
Connects to an ArcGIS server. |
void |
delete()
Deletes the object. |
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 an ArcGIS server. |
void |
editProperties(int hParent)
Presents a modal dialog to allow editing the object's properties. |
void |
editServerProperties(int hParent,
short activePage)
Presents a modal dialog to allow editing the default properties of the server. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IAGSServerConnectionName |
getAGSServerConnectionName()
The associated AGS server connection name object. |
java.lang.String |
getBaseName()
The base name of the object (i.e. |
java.lang.String |
getCategory()
The category of the object. |
IEnumGxObject |
getChildren()
An enumeration of the child objects. |
IUID |
getClassID()
The class ID of this object. |
static java.lang.String |
getClsid()
getClsid. |
IUID |
getContextMenu()
The class ID of the context menu for this object. |
java.lang.String |
getFileName()
Path to the AGS connection file. |
java.lang.String |
getFullName()
The full name of the object. |
IName |
getInternalObjectName()
The Name for the internal object that this GxObject represents. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getLargeImage()
The large image that represents the object. |
int |
getLargeSelectedImage()
The large image that represents the object when it is selected. |
java.lang.String |
getName()
The short name of the object. |
INativeType |
getNativeType()
The native type. |
IUID |
getNewMenu()
The class ID of the New menu for this object. |
IGxObject |
getParent()
The parent of the object. |
void |
getPropByIndex(int index,
java.lang.String[] name,
java.lang.Object[] value)
The name and value of the indexed property in the GxObject. |
java.lang.Object |
getProperty(java.lang.String name)
The value of the named property in the GxObject. |
int |
getPropertyCount()
The number of properties in the GxObject. |
java.lang.Object |
getSelectedServerObjects()
The selected server objects. |
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 |
isAreChildrenViewable()
Indicates if the objects children are available for viewing in the tree-view. |
boolean |
isConnected()
Indicates whether the AGS connection has been made. |
boolean |
isHasChildren()
Indicates if the object has any children. |
boolean |
isValid()
Indicates if the object is still valid. |
void |
loadFromFile(java.lang.String path)
Loads an AGS connection file. |
boolean |
paste(IEnumName names,
boolean[] moveOperation)
Pastes the specified names into this object. |
void |
refresh()
Updates the object and any children of the object. |
void |
release()
Release a GxAGSConnection. |
void |
rename(java.lang.String newShortName)
Renames the object. |
void |
saveToFile(java.lang.String path)
Writes an AGS connection file. |
void |
setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnName)
The associated AGS server connection name object. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set the value of the named property in the GxObject. |
void |
setSelectedServerObjects(java.lang.Object selectedObjects)
The selected server objects. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GxAGSConnection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GxAGSConnection(java.lang.Object obj) throws java.io.IOException
GxAGSConnection theGxAGSConnection = (GxAGSConnection) obj;
obj
to GxAGSConnection
.
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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFullName() throws java.io.IOException, AutomationException
getFullName
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getBaseName() throws java.io.IOException, AutomationException
getBaseName
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getParent() throws java.io.IOException, AutomationException
getParent
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws java.io.IOException, AutomationException
getClassID
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getInternalObjectName() throws java.io.IOException, AutomationException
getInternalObjectName
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws java.io.IOException, AutomationException
isValid
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attach(IGxObject parent, IGxCatalog pCatalog) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void detach() throws java.io.IOException, AutomationException
detach
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws java.io.IOException, AutomationException
refresh
in interface IGxObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChildren() throws java.io.IOException, AutomationException
isHasChildren
in interface IGxObjectContainer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getChildren() throws java.io.IOException, AutomationException
getChildren
in interface IGxObjectContainer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAreChildrenViewable() throws java.io.IOException, AutomationException
isAreChildrenViewable
in interface IGxObjectContainer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject addChild(IGxObject child) throws java.io.IOException, AutomationException
addChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteChild(IGxObject child) throws java.io.IOException, AutomationException
deleteChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isConnected() throws java.io.IOException, AutomationException
isConnected
in interface IGxAGSConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect() throws java.io.IOException, AutomationException
connect
in interface IGxAGSConnection
connect
in interface IGxRemoteConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws java.io.IOException, AutomationException
disconnect
in interface IGxAGSConnection
disconnect
in interface IGxRemoteConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadFromFile(java.lang.String path) throws java.io.IOException, AutomationException
loadFromFile
in interface IGxAGSConnection
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveToFile(java.lang.String path) throws java.io.IOException, AutomationException
saveToFile
in interface IGxAGSConnection
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFileName() throws java.io.IOException, AutomationException
getFileName
in interface IGxAGSConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAGSServerConnectionName getAGSServerConnectionName() throws java.io.IOException, AutomationException
getAGSServerConnectionName
in interface IGxAGSConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnName) throws java.io.IOException, AutomationException
setAGSServerConnectionNameByRef
in interface IGxAGSConnection
serverConnName
- A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSelectedServerObjects() throws java.io.IOException, AutomationException
getSelectedServerObjects
in interface IGxAGSConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedServerObjects(java.lang.Object selectedObjects) throws java.io.IOException, AutomationException
setSelectedServerObjects
in interface IGxAGSConnection
selectedObjects
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void editServerProperties(int hParent, short activePage) throws java.io.IOException, AutomationException
editServerProperties
in interface IGxAGSConnection
hParent
- The hParent (A COM typedef) (in)activePage
- The activePage (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INativeType getNativeType() throws java.io.IOException, AutomationException
getNativeType
in interface INativeTypeInfo
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRename() throws java.io.IOException, AutomationException
canRename
in interface IGxObjectEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rename(java.lang.String newShortName) throws java.io.IOException, AutomationException
rename
in interface IGxObjectEdit
newShortName
- The newShortName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canDelete() throws java.io.IOException, AutomationException
canDelete
in interface IGxObjectEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete() throws java.io.IOException, AutomationException
delete
in interface IGxObjectEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void editProperties(int hParent) throws java.io.IOException, AutomationException
editProperties
in interface IGxObjectEdit
hParent
- The hParent (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws java.io.IOException, AutomationException
canCopy
in interface IGxObjectEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPropertyCount() throws java.io.IOException, AutomationException
getPropertyCount
in interface IGxObjectProperties
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPropByIndex(int index, java.lang.String[] name, java.lang.Object[] value) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getProperty(java.lang.String name) throws java.io.IOException, AutomationException
getProperty
in interface IGxObjectProperties
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProperty(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
setProperty
in interface IGxObjectProperties
name
- The name (in)value
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallImage() throws java.io.IOException, AutomationException
getSmallImage
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallSelectedImage() throws java.io.IOException, AutomationException
getSmallSelectedImage
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeImage() throws java.io.IOException, AutomationException
getLargeImage
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeSelectedImage() throws java.io.IOException, AutomationException
getLargeSelectedImage
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getContextMenu() throws java.io.IOException, AutomationException
getContextMenu
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getNewMenu() throws java.io.IOException, AutomationException
getNewMenu
in interface IGxObjectUI
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canPaste(IEnumName names, boolean[] moveOperation) throws java.io.IOException, AutomationException
canPaste
in interface IGxPasteTarget
names
- A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation
- The moveOperation (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean paste(IEnumName names, boolean[] moveOperation) throws java.io.IOException, AutomationException
paste
in interface IGxPasteTarget
names
- A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation
- The moveOperation (in/out: use single element array)
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 |