Package com.jalios.jcms.tools.storemerge
Class ConflictResolver
- java.lang.Object
-
- com.jalios.jcms.tools.storemerge.ConflictResolver
-
public class ConflictResolver extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description ConflictResolver(StoreMergeParameters params)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canResolveAttributeConflict(java.lang.String id, java.lang.String className, java.lang.String attName, java.lang.String value1, java.lang.String value2)
boolean
canResolveCreateCreateConflict(java.lang.String id, java.lang.String className)
boolean
canResolveUpdateDeleteConflict(java.lang.String id, java.lang.String className)
java.util.List<StorableLogEntry>
getResolutionOpList(java.lang.String urid, long time)
static void
initLogger()
java.util.List<StorableLogEntry>
resolveCreateCreateConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
java.util.List<StorableLogEntry>
resolveUpdateDeleteConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
-
-
-
Constructor Detail
-
ConflictResolver
public ConflictResolver(StoreMergeParameters params)
-
-
Method Detail
-
initLogger
public static void initLogger()
-
canResolveAttributeConflict
public boolean canResolveAttributeConflict(java.lang.String id, java.lang.String className, java.lang.String attName, java.lang.String value1, java.lang.String value2)
-
canResolveCreateCreateConflict
public boolean canResolveCreateCreateConflict(java.lang.String id, java.lang.String className)
-
canResolveUpdateDeleteConflict
public boolean canResolveUpdateDeleteConflict(java.lang.String id, java.lang.String className)
-
resolveUpdateDeleteConflict
public java.util.List<StorableLogEntry> resolveUpdateDeleteConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
-
resolveCreateCreateConflict
public java.util.List<StorableLogEntry> resolveCreateCreateConflict(java.lang.String id, java.util.List<StorableLogEntry> store1OpList, java.util.List<StorableLogEntry> store2OpList)
-
getResolutionOpList
public java.util.List<StorableLogEntry> getResolutionOpList(java.lang.String urid, long time)
-
-