|
|||||||||
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.geodatabasedistributed.IDataChangesProxy
public class IDataChangesProxy
Provides access to members that return information needed to check in or import edits.
The IDataChanges interface has methods to return the edited datasets and the edits that have been applied to these datasets.
DataChangesExporter
,
DataChanges
,
IExportDataChanges
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IDataChangesProxy()
|
|
IDataChangesProxy(Object obj)
|
protected |
IDataChangesProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IDifferenceCursor |
extract(String tableName,
int changeType)
Lists the edits in each feature class or table. |
IEnumModifiedClassInfo |
getModifiedClassesInfo()
Returns an enumeration listing of the feature classes and tables with edits. |
int |
getParentReplicaID()
ID for the replica in the parent geodatabase. |
IWorkspaceName |
getParentWorkspaceName()
Workspace of the master geodatabase. |
String |
getReplicaGuid()
GUID identifying the child/parent replica pair. |
void |
removeListener(String iidStr,
Object theListener)
|
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 IDataChangesProxy()
public IDataChangesProxy(Object obj) throws IOException
IOException
protected IDataChangesProxy(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 IEnumModifiedClassInfo getModifiedClassesInfo() throws IOException, AutomationException
The GetModifiedClassesInfo method returns an enumeration of the datasets that have been edited. For replicas (check-out replicas, two way and one way replicas), datasets that have been replicated but not edited are not included.
getModifiedClassesInfo
in interface IDataChanges
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDifferenceCursor extract(String tableName, int changeType) throws IOException, AutomationException
The Extract method returns a difference cursor of the rows inserted, updated or deleted. The tablename can be any class that implements ITableName such as a feature class name, table name or attributed relationship class name. The changeType enumeration is used to specify the type of changes to return.
If using this interface with a DeltaDataChanges coclass, initializing the coclass with random access may be significant. See DeltaDataChanges::IDeltaDataChangesInit2 for more information.
extract
in interface IDataChanges
tableName
- The tableName (in)changeType
- A com.esri.arcgis.geodatabasedistributed.esriDataChangeType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspaceName getParentWorkspaceName() throws IOException, AutomationException
The ParentWorkspaceName property returns the workspace name of the parent geodatabase. This property is only valid for CheckoutDataChanges coclasses, DeltaDataChanges coclasses, and ReplicationDataChanges initialized using delta databases (mdb file) or delta file geodatabases (gdb file). A delta XML file does not store this information.
getParentWorkspaceName
in interface IDataChanges
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getParentReplicaID() throws IOException, AutomationException
This property returns the parent replica ID.
The ParentReplicaID and ReplicaGUID properties identify the replica on the parent geodatabase. These properties are only valid for the CheckoutDataChanges coclass, DeltaDataChanges coclass, and the ReplicationDataChanges coclass when initialized for a replica. Both properties can be used to identify the replica, however, ReplicaGUID is unique across all databases.
getParentReplicaID
in interface IDataChanges
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getReplicaGuid() throws IOException, AutomationException
This property returns the replica's GUID.
The ParentReplicaID and ReplicaGUID properties identify the replica on the parent geodatabase. These properties are only valid for the CheckoutDataChanges coclass, DeltaDataChanges coclass, and the ReplicationDataChanges coclass when initialized for a replica. Both properties can be used to identify the replica, however, ReplicaGUID is unique across all databases.
getReplicaGuid
in interface IDataChanges
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 |