Interface ConflictDao

All Known Implementing Classes:
ConflictDaoImpl

public interface ConflictDao
  • 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

      Entity loadEntity(String id, @Nullable @Nullable Context ctx)
      Looks up the conflict entity either in conception state or it is loaded from the db.
    • mapConflictEntity

      Conflict mapConflictEntity(Entity conflictEntity)