public class OnlineAccountCommand extends SQLCommand
CREATE_ONLINE_ACCOUNT TYPE account_type
FIRST_NAME first_nm
LAST_NAME last_nm
EMAIL email_address
LOGIN login_id
PASSWORD passwd
CONFIRM_PASSWORD passwd_confirm
[AREA_CODE phone_area_code]
[PHONE phone_number]
[COUNTRY country_name]
[SUBURB_CITY suburb]
[COMPANY company_name]
[POSITION job_position]
[ENQUIRY_SOURCE_NAME enquiry_source]
Usage
CREATE_ONLINE_ACCOUNT TYPE GENERIC
FIRST_NAME Kate
LAST_NAME McGrath
EMAIL kate@gmail.com
PHONE 5345344
THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
OnlineAccountCommand(Connection connection,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected Company |
createBusiness(Parser p,
MutableDataSource mds) |
protected Login |
createLogin(Parser p,
MutableDataSource mds,
Person person,
OnlineAccountType accountType) |
protected Person |
createPerson(Parser p,
MutableDataSource mds) |
protected void |
execute(Parser p)
execute the command.
|
protected OnlineAccountType |
findAccountType(Parser p,
MutableDataSource mds) |
java.lang.String |
getColumnName(int col)
the column name
|
java.lang.String |
getColumnType(int col)
get the column type
|
java.lang.String |
getRecordID(int row)
We are at the last row when we return null for the record ID.
|
java.lang.Object |
getValue(int row,
int col)
The value for this column/row
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic OnlineAccountCommand(Connection connection, Pattern pattern)
connection - pattern - protected void execute(Parser p) throws java.lang.Exception
protected OnlineAccountType findAccountType(Parser p, MutableDataSource mds) throws java.lang.Exception
java.lang.Exceptionprotected Person createPerson(Parser p, MutableDataSource mds) throws java.lang.Exception
java.lang.Exceptionprotected Company createBusiness(Parser p, MutableDataSource mds) throws java.lang.Exception
java.lang.Exceptionprotected Login createLogin(Parser p, MutableDataSource mds, Person person, OnlineAccountType accountType) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
CommandBuildResultsPlugincol - the columnpublic java.lang.String getRecordID(int row)
CommandBuildResultsPluginrow - the row to usepublic java.lang.Object getValue(int row,
int col)
CommandBuildResultsPluginrow - the row to usecol - the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.