|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.trackinganalyst.IAMSWorkspaceProxy
public class IAMSWorkspaceProxy
Provides access to properties and methods needed to control and manage in the tracking workspace.
This interface provides the methods and properties required to open temporal feature classes and tables from an AMS (tracking) server, and to create new standalone feature classes, tables and query definition objects under the workspace. This interface also allows the disconnect and re-connection of the AMS server without degrading the data already received.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IAMSWorkspaceProxy()
|
|
IAMSWorkspaceProxy(Object obj)
|
protected |
IAMSWorkspaceProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
connect()
Creates real-time data connection in the tracking workspace. |
IFeatureClass |
createFeatureClass(String name,
IFields fields,
IUID clsid,
IUID eXTCLSID,
int featureType,
String shapeFieldName,
String configKeyword)
Creates a new standalone feature class under the workspace. |
IQueryDef |
createQueryDef()
Create a query definition object. |
ITable |
createTable(String name,
IFields fields,
IUID clsid,
IUID eXTCLSID,
String configKeyword)
Creates a new table. |
void |
disconnect()
Disconnects a data connection in the tracking workspace. |
IServerConnection |
getServerConnection()
Defines aspects of the server connection. |
void |
loadProperties(String bstrTableName)
Loads properties for connection in the workspace. |
IFeatureClass |
openFeatureClass(String name)
Opens an existing feature class. |
IFeatureDataset |
openFeatureQuery(String queryName,
IQueryDef pQueryDef)
Opens a feature dataset containing a single feature dlass defined by the specified Query. |
ITable |
openTable(String name)
Opens an existing table. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
storeProperties()
Stores connection properties in the workspace. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IAMSWorkspaceProxy()
public IAMSWorkspaceProxy(Object obj) throws IOException
IOException
protected IAMSWorkspaceProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void connect() throws IOException, AutomationException
This method connects the workspace to an AMS (tracking) server.
connect
in interface IAMSWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws IOException, AutomationException
This method disconnects the workspace from a connected AMS (Tracking) Server.
disconnect
in interface IAMSWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass openFeatureClass(String name) throws IOException, AutomationException
This method opens an existing feature class specified by the name.
openFeatureClass
in interface IAMSWorkspace
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable openTable(String name) throws IOException, AutomationException
This method opens an existing table specified by the name.
openTable
in interface IAMSWorkspace
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable createTable(String name, IFields fields, IUID clsid, IUID eXTCLSID, String configKeyword) throws IOException, AutomationException
This method creates a new table specified by the name. Current version of Tracking Analyst does not support the capability to create tables.
createTable
in interface IAMSWorkspace
name
- The name (in)fields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)clsid
- A reference to a com.esri.arcgis.system.IUID (in)eXTCLSID
- A reference to a com.esri.arcgis.system.IUID (in)configKeyword
- The configKeyword (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass createFeatureClass(String name, IFields fields, IUID clsid, IUID eXTCLSID, int featureType, String shapeFieldName, String configKeyword) throws IOException, AutomationException
This method creates a new feature class specified by the name. Current version of Tracking Analyst does not support the capability to create feature classes.
createFeatureClass
in interface IAMSWorkspace
name
- The name (in)fields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)clsid
- A reference to a com.esri.arcgis.system.IUID (in)eXTCLSID
- A reference to a com.esri.arcgis.system.IUID (in)featureType
- A com.esri.arcgis.geodatabase.esriFeatureType constant (in)shapeFieldName
- The shapeFieldName (in)configKeyword
- The configKeyword (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IQueryDef createQueryDef() throws IOException, AutomationException
This method creates a new query definition object. Current version of Tracking Analyst does not support the capability to create query definitions.
createQueryDef
in interface IAMSWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureDataset openFeatureQuery(String queryName, IQueryDef pQueryDef) throws IOException, AutomationException
This method opens a feature dataset containing a single feature class defined by the specified query. Current version of Tracking Analyst does not support the capability to open feature queries.
openFeatureQuery
in interface IAMSWorkspace
queryName
- The queryName (in)pQueryDef
- A reference to a com.esri.arcgis.geodatabase.IQueryDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerConnection getServerConnection() throws IOException, AutomationException
This property defines aspects of the server connection.
getServerConnection
in interface IAMSWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void storeProperties() throws IOException, AutomationException
This method stores the workspace properties information for itself and its feature classes into the legacy .atn file(s) and a new technique that stores this info into the connection properties object. The latter allows the information about purge rules, buffer size, and actions to be transported between users and machines.
storeProperties
in interface IAMSWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadProperties(String bstrTableName) throws IOException, AutomationException
This method is called by the feature class upon initialization to load in state properties that were configured by the user. These properties can be loaded from one of two sources, a .atn file in the users applications dir or from the connection properties. The precedence of loading is to try the connection properties first and if that is not successful, then load from the .atn file. The .atn file is the legacy method.
loadProperties
in interface IAMSWorkspace
bstrTableName
- The bstrTableName (in)
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 |