рефакторинг удаления пакета
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.Server;
|
||||
import Common.Constants;
|
||||
import Common.Current;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Database.iDBObject;
|
||||
import Common.Global;
|
||||
@@ -136,10 +135,4 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.DeleteObjectByPK, "",
|
||||
new Pair<>(object.getClass(), object.getPK())));
|
||||
}
|
||||
//-------------------------------------------
|
||||
//--- ОБЪЕКТЫ БАЗЫ ПОЛЬЗОВАТЕЛЯ
|
||||
public void DeleteAccountObject(DBObject object) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.DeleteAccountObjectByPK, Current.getAccount().email,
|
||||
new Pair<>(object.getClass(), object.getPK())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user