@Test public void testTeamListWriter() { mWriter.write(mInfo, 0L); }
@Override @WorkerThread public void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified) { Team team = mDb.getTeamsTable().get(yearsParticipatedInfo.teamKey); if (team != null && yearsParticipatedInfo.yearsParticipated != null) { team.setYearsParticipated(yearsParticipatedInfo.yearsParticipated); mTeamWriter.write(team, team.getLastModified()); } }
YearsParticipatedWriter extends BaseDbWriter<YearsParticipatedInfo> { @Override @WorkerThread public void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified) { Team team = mDb.getTeamsTable().get(yearsParticipatedInfo.teamKey); if (team != null && yearsParticipatedInfo.yearsParticipated != null) { team.setYearsParticipated(yearsParticipatedInfo.yearsParticipated); mTeamWriter.write(team, team.getLastModified()); } } }
YearsParticipatedWriter extends BaseDbWriter<YearsParticipatedInfo> { @Override @WorkerThread public void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified) { Team team = mDb.getTeamsTable().get(yearsParticipatedInfo.teamKey); if (team != null && yearsParticipatedInfo.yearsParticipated != null) { team.setYearsParticipated(yearsParticipatedInfo.yearsParticipated); mTeamWriter.write(team, team.getLastModified()); } } @Inject  YearsParticipatedWriter(Database db, TeamWriter teamWriter); }
YearsParticipatedWriter extends BaseDbWriter<YearsParticipatedInfo> { @Override @WorkerThread public void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified) { Team team = mDb.getTeamsTable().get(yearsParticipatedInfo.teamKey); if (team != null && yearsParticipatedInfo.yearsParticipated != null) { team.setYearsParticipated(yearsParticipatedInfo.yearsParticipated); mTeamWriter.write(team, team.getLastModified()); } } @Inject  YearsParticipatedWriter(Database db, TeamWriter teamWriter); @Override @WorkerThread void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified); }
YearsParticipatedWriter extends BaseDbWriter<YearsParticipatedInfo> { @Override @WorkerThread public void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified) { Team team = mDb.getTeamsTable().get(yearsParticipatedInfo.teamKey); if (team != null && yearsParticipatedInfo.yearsParticipated != null) { team.setYearsParticipated(yearsParticipatedInfo.yearsParticipated); mTeamWriter.write(team, team.getLastModified()); } } @Inject  YearsParticipatedWriter(Database db, TeamWriter teamWriter); @Override @WorkerThread void write(YearsParticipatedInfo yearsParticipatedInfo, Long lastModified);  }