упорядочил папки с кодом.

This commit is contained in:
2023-11-19 01:53:56 +03:00
parent 4883b4af51
commit 44c6daffa3
596 changed files with 2140 additions and 1569 deletions

View File

@@ -1,37 +0,0 @@
package Visual_DVM_2021.Passes.Server;
import Common.Current;
import Common.Database.riDBObject;
import Repository.RepositoryServer;
public class PublishServerObject<S extends RepositoryServer, D extends riDBObject> extends ServerObjectPass<S, D> {
protected Object pk = null;
public PublishServerObject(S server_in, Class<D> d_in) {
super(server_in, d_in);
}
@Override
public String getIconPath() {
return "/icons/RedAdd.png";
}
//--
@Override
protected boolean canStart(Object... args) throws Exception {
pk = null;
if (Current.getAccount().CheckRegistered(Log)) {
target = d.newInstance();
target.sender_name = Current.getAccount().name;
target.sender_address = Current.getAccount().email;
return fillObjectFields();
}
return false;
}
//--
@Override
protected void ServerAction() throws Exception {
PublishObject(target);
pk = response.object;
}
@Override
protected void showDone() throws Exception {
super.showDone();
getDb().tables.get(d).ui_.Show(pk);
}
}