|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConflictClass
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.
Method Summary | |
---|---|
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. |
IRow |
restoreRow(int rowID)
Restores the row from either the reconcile version or the prereconcile version. |
Method Detail |
---|
boolean isHasConflicts() throws IOException, AutomationException
The HasConflicts method returns a Boolean if the conflict class contains conflicts.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
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 |