public abstract class DbModificationStd
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SessionResources |
sessionResources |
Constructor and Description |
---|
DbModificationStd(SessionResources sessionResources,
java.awt.Frame ownerFrame) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
afterBackup(java.io.File saveFile) |
protected abstract void |
afterModifyingDB() |
protected abstract void |
beforeModifyingDB() |
void |
execute(java.io.File saveFile,
int dbTodo)
Executes backup if saveFile is not null and extends database structure due to dbTodo
|
void |
execute(int dbTodo) |
protected abstract DataObject[] |
getAllDataObjects() |
protected abstract BackupDBStd |
getBackupDBStd() |
protected abstract TableCreatorStd |
getTableCreator() |
java.lang.Thread |
getThread() |
protected SessionResources sessionResources
public DbModificationStd(SessionResources sessionResources, java.awt.Frame ownerFrame)
public void execute(int dbTodo)
public void execute(java.io.File saveFile, int dbTodo)
saveFile
- the file backup database or null if no backup is wisheddbTodo
- the database modification to doTableCreatorStd.getUpdateLevel()
protected abstract BackupDBStd getBackupDBStd()
protected abstract TableCreatorStd getTableCreator()
protected abstract DataObject[] getAllDataObjects()
protected abstract void afterBackup(java.io.File saveFile)
protected abstract void beforeModifyingDB()
protected abstract void afterModifyingDB()
public java.lang.Thread getThread()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de