class DataMigrationRepository {

    public void bulkUpgradeObjectGroups(List<String> objectGroupIds) {

        String graphLastPersistedDate = LocalDateUtil.getFormattedDateForMongo(LocalDateUtil.now());

        MetadataCollections.OBJECTGROUP.getCollection().updateMany(
            in(ObjectGroup.ID, objectGroupIds),
            Updates.set(ObjectGroup.GRAPH_LAST_PERSISTED_DATE, graphLastPersistedDate)
        );
    }

    public  DataMigrationRepository();
    @VisibleForTesting  DataMigrationRepository(int bulkSize);

}