Interface ConflictDao
- All Known Implementing Classes:
ConflictDaoImpl
public interface ConflictDao
-
Method Summary
Modifier and TypeMethodDescriptionloadEntity
(String id, @Nullable Context ctx) Looks up the conflict entity either in conception state or it is loaded from the db.mapConflictEntity
(Entity conflictEntity) void
saveConflicts
(Collection<Conflict> conflicts, @Nullable Context ctx) Saves the conflicts in the database.
-
Method Details
-
saveConflicts
void saveConflicts(Collection<Conflict> conflicts, @Nullable @Nullable Context ctx) throws InterruptedException Saves the conflicts in the database. If a conflict is already present it is returned in the new result set. Otherwise the two sets are equal.- Throws:
InterruptedException
-
loadEntity
Looks up the conflict entity either in conception state or it is loaded from the db. -
mapConflictEntity
-