com.esri.arcgis.catalog
Interface IGxDatabaseExtension

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxGDBRasterExtension, GxToolboxExtension

public interface IGxDatabaseExtension
extends Serializable

Provides access to members that manage a GX database extension.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 int compare(IGxObject gxObject1, IGxObject gxObject2, boolean ascending)
          Check if the objects are children and if yes compare them.
 IEnumGxObject getChildren(IWorkspace workspace)
          Get children.
 String getName()
          The name of the extension.
 boolean hasChildren(IWorkspace workspace)
          Verify if this extension has children.
 void setCatalogByRef(IGxCatalog rhs1)
          Attach the catalog to the database extension.
 

Method Detail

setCatalogByRef

void setCatalogByRef(IGxCatalog rhs1)
                     throws IOException,
                            AutomationException
Attach the catalog to the database extension.

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

String getName()
               throws IOException,
                      AutomationException
The name of the extension.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The extensionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasChildren

boolean hasChildren(IWorkspace workspace)
                    throws IOException,
                           AutomationException
Verify if this extension has children.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
The hasChildren
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

IEnumGxObject getChildren(IWorkspace workspace)
                          throws IOException,
                                 AutomationException
Get children.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.catalog.IEnumGxObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compare

int compare(IGxObject gxObject1,
            IGxObject gxObject2,
            boolean ascending)
            throws IOException,
                   AutomationException
Check if the objects are children and if yes compare them.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
gxObject1 - A reference to a com.esri.arcgis.catalog.IGxObject (in)
gxObject2 - A reference to a com.esri.arcgis.catalog.IGxObject (in)
ascending - The ascending (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.