com.esri.arcgis.geodatabase
Class IConflictClassProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IConflictClassProxy
All Implemented Interfaces:
IConflictClass, Externalizable, Serializable

public class IConflictClassProxy
extends com.esri.arcgis.interop.Dispatch
implements IConflictClass, Serializable

Provides access to members that control the conflict class.

Description

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

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

noncastable

public boolean noncastable
Constructor Detail

IConflictClassProxy

public IConflictClassProxy()

IConflictClassProxy

public IConflictClassProxy(Object obj)
                    throws IOException
Throws:
IOException

IConflictClassProxy

protected IConflictClassProxy(Object obj,
                              String iid)
                       throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isHasConflicts

public boolean isHasConflicts()
                       throws IOException,
                              AutomationException
Indicates if the conflict class contains conflicts.

Remarks

The HasConflicts method returns a Boolean if the conflict class contains conflicts.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isHasConflicts in interface IConflictClass
Returns:
The hasConflicts
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateDeletes

public ISelectionSet getUpdateDeletes()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are update/delete conflicts.

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getUpdateDeletes in interface IConflictClass
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeleteUpdates

public ISelectionSet getDeleteUpdates()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are delete/update conflicts.

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDeleteUpdates in interface IConflictClass
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateUpdates

public ISelectionSet getUpdateUpdates()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are update/update conflicts.

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getUpdateUpdates in interface IConflictClass
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreRow

public IRow restoreRow(int rowID)
                throws IOException,
                       AutomationException
Restores the row from either the reconcile version or the prereconcile version.

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
restoreRow in interface IConflictClass
Parameters:
rowID - The rowID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.