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 5345344THREAD 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, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public 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.Exception
protected Person createPerson(Parser p, MutableDataSource mds) throws java.lang.Exception
java.lang.Exception
protected Company createBusiness(Parser p, MutableDataSource mds) throws java.lang.Exception
java.lang.Exception
protected Login createLogin(Parser p, MutableDataSource mds, Person person, OnlineAccountType accountType) throws java.lang.Exception
java.lang.Exception
public java.lang.String getColumnName(int col)
col
- the columnpublic java.lang.String getColumnType(int col)
CommandBuildResultsPlugin
col
- the columnpublic java.lang.String getRecordID(int row)
CommandBuildResultsPlugin
row
- the row to usepublic java.lang.Object getValue(int row, int col)
CommandBuildResultsPlugin
row
- the row to usecol
- the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.