промежуточный. выкинул старые объекты и функционал. Осталось восстановить эксель, и отображение пакетов Сапфор
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
package Visual_DVM_2021.Passes.Server;
|
||||
import Common.Current;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Database.Database;
|
||||
import Common.Global;
|
||||
import Repository.Server.ServerCode;
|
||||
import Repository.Server.ServerExchangeUnit_2021;
|
||||
import TestingSystem.Common.TestingServer;
|
||||
import javafx.util.Pair;
|
||||
public class DeleteServerAccountObject<D extends DBObject> extends DeleteServerObject<TestingServer, D> {
|
||||
public DeleteServerAccountObject(Class<D> d_in) {
|
||||
super(Global.testingServer, d_in);
|
||||
}
|
||||
@Override
|
||||
protected Database getDb() {
|
||||
return Global.testingServer.account_db;
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.DeleteAccountObjectByPK, Current.getAccount().email,
|
||||
new Pair<>(target.getClass(), target.getPK())));
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package Visual_DVM_2021.Passes.Server;
|
||||
import Common.Current;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Database.Database;
|
||||
import Common.Global;
|
||||
import TestingSystem.Common.TestingServer;
|
||||
public class PublishServerAccountObject<D extends DBObject> extends PublishServerObject<TestingServer, D> {
|
||||
public PublishServerAccountObject(Class<D> d_in) {
|
||||
super(Global.testingServer, d_in);
|
||||
}
|
||||
@Override
|
||||
protected Database getDb() {
|
||||
return Global.testingServer.account_db;
|
||||
}
|
||||
@Override
|
||||
protected String getEmail() {
|
||||
return Current.getAccount().email;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user