промежуточный. часть большого рефакторинга, касательно проходов связанных с сервером. Обновлена публикация групп.

This commit is contained in:
2023-11-16 16:20:20 +03:00
parent 3f00d0f300
commit 4545cf2d26
80 changed files with 346 additions and 254 deletions

View File

@@ -5,6 +5,7 @@ import Repository.BugReport.BugReport;
import Repository.BugReport.BugReportsDBTable;
import Repository.SubscriberWorkspace.SubscriberWorkspaceDBTable;
import Repository.Subscribes.SubsribersDBTable;
import Visual_DVM_2021.Passes.PassCode_2021;
import java.nio.file.Paths;
import java.util.Vector;
@@ -25,6 +26,10 @@ public class BugReportsDatabase extends SQLiteDatabase {
public void Init() throws Exception {
DeleteDrafts();
}
@Override
public PassCode_2021 getSynchronizePassCode() {
return PassCode_2021.SynchronizeBugReports;
}
public void DeleteDrafts() throws Exception {
Vector<BugReport> drafts = bugReports.getAllDrafts();
for (BugReport draft : drafts)