|
|||||||||
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.geodatabase.IConflictClassProxy
public class IConflictClassProxy
Provides access to members that control the conflict class.
References to the IConflictClass interface are obtained from the IEnumConflictClass enumerator. It is provided as a mechanism to work with conflicting rows from each conflict class after performing a reconcile. If IVersionEdit.Reconcile is not been called prior to getting a reference to the IEnumConflictClass enumerator, the classes will not be available.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IConflictClassProxy()
|
|
IConflictClassProxy(Object obj)
|
protected |
IConflictClassProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
ISelectionSet |
getDeleteUpdates()
The selection set of all the objects which are delete/update conflicts. |
ISelectionSet |
getUpdateDeletes()
The selection set of all the objects which are update/delete conflicts. |
ISelectionSet |
getUpdateUpdates()
The selection set of all the objects which are update/update conflicts. |
boolean |
isHasConflicts()
Indicates if the conflict class contains conflicts. |
void |
removeListener(String iidStr,
Object theListener)
|
IRow |
restoreRow(int rowID)
Restores the row from either the reconcile version or the prereconcile version. |
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 IConflictClassProxy()
public IConflictClassProxy(Object obj) throws IOException
IOException
protected IConflictClassProxy(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 boolean isHasConflicts() throws IOException, AutomationException
The HasConflicts method returns a Boolean if the conflict class contains conflicts.
isHasConflicts
in interface IConflictClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet getUpdateDeletes() throws IOException, AutomationException
The UpdateDeletes method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and deleted in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
getUpdateDeletes
in interface IConflictClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet getDeleteUpdates() throws IOException, AutomationException
The DeleteUpdates method returns an ISelectionSet of all the object IDs of rows that have been deleted in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
getDeleteUpdates
in interface IConflictClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet getUpdateUpdates() throws IOException, AutomationException
The UpdateUpdates method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
getUpdateUpdates
in interface IConflictClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRow restoreRow(int rowID) throws IOException, AutomationException
The RestoreRow method should only be called in the case of restoring a row that was removed in the edit session because of a DeleteUpdate conflict with the target version.
The row is restored from the pre-reconcile version that represents the state of the database prior to the reconcile operation.
restoreRow
in interface IConflictClass
rowID
- The rowID (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 |