private void updateFullDatabaseVersionCache() { fullDatabaseVersionCache = new DatabaseVersion(); for (DatabaseVersion databaseVersion : databaseVersions) { updateFullDatabaseVersionCache(databaseVersion); } }
public void removeDatabaseVersion(DatabaseVersion databaseVersion) { databaseVersions.remove(databaseVersion); // Populate caches // WARNING: Do NOT reorder, order important!! updateFullDatabaseVersionCache(); updateDatabaseVersionIdCache(); updateFilenameHistoryCache(); updateContentChecksumCache(); }