public class App extends DBaseCmdLine
Modifier and Type | Field and Description |
---|---|
protected MutableDataSource |
ds |
password, type, url, user
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options
|
protected void |
blankLinks(MutableDataSource ds) |
protected void |
checkAccess(MutableDataSource ds) |
protected void |
clearContact(MutableDataSource ds,
java.lang.String className) |
protected void |
clearJournal(MutableDataSource ds) |
protected void |
clearLogin(MutableDataSource ds) |
protected void |
clearObject(java.lang.String name,
MutableDataSource ds) |
protected void |
clearObjects(MutableDataSource ds) |
void |
handleArgs(java.util.Properties p)
Do not use this method
|
static void |
main(java.lang.String[] argv)
The main for the program
|
void |
process()
process ( extend this method)
|
protected void |
pullDocs(MutableDataSource ds) |
protected void |
removeZZTables(VirtualDB vDB) |
handleCommandLine, init
abort, abortShowHelp, execute, getExtraPars, setDefaults, setExitFlg
protected MutableDataSource ds
protected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions
in class DBaseCmdLine
options
- the optionspublic void handleArgs(java.util.Properties p) throws java.lang.Exception
AppCmdLine
handleArgs
in class AppCmdLine
p
- the propertiesjava.lang.Exception
- a serious problempublic void process()
AppCmdLine
process
in class AppCmdLine
protected void removeZZTables(VirtualDB vDB) throws java.lang.Exception
vDB
- the layerjava.lang.Exception
- a serious problem.protected void pullDocs(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void clearObjects(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void clearJournal(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void checkAccess(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void clearLogin(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void clearContact(MutableDataSource ds, java.lang.String className) throws java.lang.Exception
ds
- The datasourceclassName
- java.lang.Exception
- a serious problem.protected void blankLinks(MutableDataSource ds) throws java.lang.Exception
ds
- The datasourcejava.lang.Exception
- a serious problem.protected void clearObject(java.lang.String name, MutableDataSource ds) throws java.lang.Exception
name
- ds
- The datasourcejava.lang.Exception
- a serious problem.public static void main(java.lang.String[] argv)
argv
- The command line argumentsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.