public class AddContactCommand extends SQLCommand
ADD_CONTACT FIRST_NAME client_first_name
LAST_NAME client_last_name
[BUSINESS_NAME client_business_name]
[ADDRESS_LINE1 client_address_line1]
[ADDRESS_LINE2 client_address_line2]
[COUNTRY client_country]
[STATE client_state]
[MAIL_ADDRESS_LINE1 client_mail_address_line1]
[MAIL_ADDRESS_LINE2 client_mail_address_line2]
[MAIL_COUNTRY client_mail_country]
[MAIL_STATE client_mail_state]
[MAIL_POST_CODE client_mail_post_code]
[MAIL_SUBURB_CITY client_mail_suburb_city]
[EMAIL client_email]
[FAX client_fax]
[FIRST_NAME client_first_name]
[LAST_NAME client_last_name]
[PHONE client_phone]
[POST_CODE client_post_code]
[SUBURB_CITY client_suburb_city]
Usage
ADD_CONTACT
FIRST_NAME sinu
LAST_NAME chandra
BUSINESS_NAME busines
ADDRESS_LINE1 addressline1
ADDRESS_LINE2 addressline2
COUNTRY Australia
STATE state
EMAIL email@yahoo.com
FAX 23244555
PHONE 5345344
POST_CODE 234876
SUBURB_CITY city
THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
AddContactCommand(Connection connection,
Pattern pattern)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
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 AddContactCommand(Connection connection, Pattern pattern)
connection - pattern - protected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
CommandBuildResultsPlugincol - The column number ( offset from 1)public java.lang.String getRecordID(int row)
CommandBuildResultsPluginrow - The row number ( offset from 1)public java.lang.Object getValue(int row,
int col)
CommandBuildResultsPluginrow - The row number ( offset from 1)col - The column number ( offset from 1)stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.