public class ADFDiffResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONFLICT_INS_ELEM_DEL_BY_ANOTHER |
static int |
CONFLICT_INS_ELEM_INS_BY_ANOTHER |
static int |
CONFLICT_UNKNOWN |
static int |
CONFLICT_UPD_ELEM_DEL_BY_ANOTHER |
static int |
CONFLICT_UPD_ELEM_UPD_BY_ANOTHER |
static int |
MERGE_ORIGIN_PUBLISH |
static int |
MERGE_ORIGIN_REFRESH |
static int |
RESOLVE_EDIT_WINS |
static int |
RESOLVE_NONE |
static int |
RESOLVE_SCAN |
static int |
RESOLVE_TO_MERGE_WINS |
Constructor and Description |
---|
ADFDiffResolver() |
Modifier and Type | Method and Description |
---|---|
void |
beginMerge(int origin) |
void |
checkForMergeError() |
void |
endMerge(boolean isOnError) |
java.util.List<java.lang.Exception> |
getExceptionList() |
static ADFLogger |
getMergeLogger() |
int |
getMergeOrigin() |
int |
getResolveWinner() |
boolean |
hasMergeError() |
boolean |
isFailOnFirstError() |
void |
logException(java.lang.Exception ex) |
void |
processMergeError(java.lang.String defName) |
void |
registerDiffMergeManagers() |
int |
resolveADFMergeConflict(int conflict,
java.lang.Object resolveResult,
java.lang.Object id,
java.lang.Object editValue,
java.lang.Object toMergeValue,
java.lang.Object oldValue,
java.lang.Object childDifDetails) |
void |
setFailOnFirstError(boolean b) |
void |
setMergeOrigin(int origin) |
void |
setResolveWinner(int resolveWinner) |
public static final int CONFLICT_UNKNOWN
public static final int CONFLICT_INS_ELEM_DEL_BY_ANOTHER
public static final int CONFLICT_UPD_ELEM_DEL_BY_ANOTHER
public static final int CONFLICT_INS_ELEM_INS_BY_ANOTHER
public static final int CONFLICT_UPD_ELEM_UPD_BY_ANOTHER
public static final int RESOLVE_NONE
public static final int RESOLVE_EDIT_WINS
public static final int RESOLVE_TO_MERGE_WINS
public static final int RESOLVE_SCAN
public static final int MERGE_ORIGIN_REFRESH
public static final int MERGE_ORIGIN_PUBLISH
public static ADFLogger getMergeLogger()
public int resolveADFMergeConflict(int conflict, java.lang.Object resolveResult, java.lang.Object id, java.lang.Object editValue, java.lang.Object toMergeValue, java.lang.Object oldValue, java.lang.Object childDifDetails)
public void beginMerge(int origin)
public void endMerge(boolean isOnError)
public void registerDiffMergeManagers()
public int getResolveWinner()
public void setResolveWinner(int resolveWinner)
public int getMergeOrigin()
public void setMergeOrigin(int origin)
public boolean isFailOnFirstError()
public void setFailOnFirstError(boolean b)
public void processMergeError(java.lang.String defName)
public boolean hasMergeError()
public void checkForMergeError()
public java.util.List<java.lang.Exception> getExceptionList()
public void logException(java.lang.Exception ex)