|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.ToolboxWorkspaceExtension
public class ToolboxWorkspaceExtension
Workspace extension to support toolboxes in a geodatabase.
Constructor Summary | |
---|---|
ToolboxWorkspaceExtension()
Constructs a ToolboxWorkspaceExtension using ArcGIS Engine. |
|
ToolboxWorkspaceExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ToolboxWorkspaceExtension theToolboxWorkspaceExtension = (ToolboxWorkspaceExtension) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IEnumBSTR |
getDataDictionaryTableNames()
Any data dictionary tables that should not be exposed to browsers and should not participate in edit sessions. |
IUID |
getGUID()
The GUID that identifies this Workspace Extension. |
String |
getName()
The Name for this Workspace Extension. |
IEnumBSTR |
getPrivateDatasetNames(int dtype)
The private datasets that should not be exposed to browsers. |
int |
hashCode()
the hashcode for this object |
void |
init(IWorkspaceHelper pWorkspaceHelper)
Initializes the extension, passing in a reference to its workspace helper. |
void |
shutdown()
Informs the extension that its workspace helper (and workspace) are going away. |
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 ToolboxWorkspaceExtension() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ToolboxWorkspaceExtension(Object obj) throws IOException
ToolboxWorkspaceExtension theToolboxWorkspaceExtension = (ToolboxWorkspaceExtension) obj;
obj
to ToolboxWorkspaceExtension
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod 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
The Name property is the name of the extension.
getName
in interface IWorkspaceExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getGUID() throws IOException, AutomationException
The GUID property returns the well-known GUID for the extension and is guaranteed to be unique.
getGUID
in interface IWorkspaceExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getPrivateDatasetNames(int dtype) throws IOException, AutomationException
getPrivateDatasetNames
in interface IWorkspaceExtension
dtype
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getDataDictionaryTableNames() throws IOException, AutomationException
The PrivateDatasetNames and DataDictionaryNames properties return the names of tables and datasets that are private to the extension and will not be exposed by the workspace to browsing clients. Since they return an EnumBSTR object that is not cocreatable, you must create your own object that implements IEnumBSTR.
getDataDictionaryTableNames
in interface IWorkspaceExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void init(IWorkspaceHelper pWorkspaceHelper) throws IOException, AutomationException
init
in interface IWorkspaceExtensionControl
pWorkspaceHelper
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceHelper (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
The Shutdown method informs the workspace extension that the workspace has been released by all clients and is about to go away. In response, the workspace extension should release its reference on the workspace helper. Any subsequent calls by the application to the workspace extension should return an error.
shutdown
in interface IWorkspaceExtensionControl
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 |