public class EspritDBCreate extends AbstractApplicationObject<de.esprit.appsuite.database.dbo.DBCreateContext> implements Executable
Constructor and Description |
---|
EspritDBCreate(Credential credential) |
EspritDBCreate(de.esprit.appsuite.database.dbo.DBCreateContext ctx) |
Modifier and Type | Method and Description |
---|---|
static void |
addMaster(DBObject master) |
protected void |
createTables() |
protected void |
createView(java.lang.String viewName,
java.lang.String viewStatement) |
protected void |
createViews() |
protected void |
dropTables() |
protected void |
dropView(java.lang.String viewName) |
protected void |
dropViews() |
void |
execute()
Contains the code to be executed.
|
protected void |
executeSql(java.lang.String sql) |
protected void |
fillRecords() |
static DBObject[] |
getAppSuiteTables() |
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public EspritDBCreate(Credential credential)
public EspritDBCreate(de.esprit.appsuite.database.dbo.DBCreateContext ctx)
public static DBObject[] getAppSuiteTables()
public static void addMaster(DBObject master)
public void execute() throws java.lang.Exception
Executable
execute
in interface Executable
java.lang.Exception
protected void dropViews() throws java.lang.Exception
java.lang.Exception
protected void createViews() throws java.lang.Exception
java.lang.Exception
protected final void createView(java.lang.String viewName, java.lang.String viewStatement) throws java.lang.Exception
java.lang.Exception
protected final void dropView(java.lang.String viewName) throws java.lang.Exception
java.lang.Exception
protected final void executeSql(java.lang.String sql) throws java.lang.Exception
java.lang.Exception
protected void dropTables()
protected void createTables() throws java.lang.Exception
java.lang.Exception
protected void fillRecords() throws java.lang.Exception
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.