public class AddUsers extends DBaseCmdLine
password, type, url, userexitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL| Constructor and Description | 
|---|
AddUsers()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options 
 | 
protected Login | 
addLogin(DBObject contact,
        MutableDataSource ds,
        ContactGroup grp)  | 
protected void | 
addMagicNumber(Login login,
              java.lang.String cmd,
              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) 
 | 
handleCommandLine, initabort, abortShowHelp, execute, getExtraPars, setDefaults, setExitFlgpublic void handleArgs(java.util.Properties p)
                throws java.lang.Exception
handleArgs in class AppCmdLinep - the propertiesjava.lang.Exception - Exception A serious problemprotected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions in class DBaseCmdLineoptions - the optionspublic void process()
process in class AppCmdLineprotected Login addLogin(DBObject contact, MutableDataSource ds, ContactGroup grp) throws java.lang.Exception
contact - the contactds - The datasourcegrp - the groupjava.lang.Exception - a serious problem.protected void addMagicNumber(Login login, java.lang.String cmd, MutableDataSource ds) throws java.lang.Exception
login - the logincmd - the commandds - 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.