public class UpdateCreditCardDetailsCommand extends SQLCommand
UPDATE_CREDIT_CARD_DETAILS SUBSCRIPTION_ID subid BANK_CARD_EXPIRY expiry BANK_CARD_NAME cardName BANK_CARD_NUMBER cardNumber BANK_CARD_TYPE cardType [BANK_CARD_CVN verificationNumber]Usage
UPDATE_CREDIT_CARD_DETAILS SUBSCRIPTION_ID 1234 BANK_CARD_EXPIRY 25 Apr 2009 BANK_CARD_NAME Frank BANK_CARD_NUMBER 2948574638 BANK_CARD_TYPE VISATHREAD MODE: SINGLE THREADED command
CURSOR_SIZE
Constructor and Description |
---|
UpdateCreditCardDetailsCommand(Connection connection,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Parser p)
execute this command
|
protected java.lang.String |
extMakeThreadName(java.lang.String sql)
OVERRIDE THIS METHOD: to change sql text that is used to set the thread name.
|
java.lang.String |
getColumnName(int col)
Not mandatory to supply a key for the row as well.
|
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, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public UpdateCreditCardDetailsCommand(Connection connection, Pattern pattern)
protected void execute(Parser p) throws java.lang.Exception
public java.lang.String getRecordID(int row)
CommandBuildResultsPlugin
row
- the row to usepublic java.lang.String getColumnName(int col)
CommandBuildResultsPlugin
col
- the columnpublic java.lang.String getColumnType(int col) throws java.lang.Exception
CommandBuildResultsPlugin
col
- the columnjava.lang.Exception
- Exception A serious problempublic java.lang.Object getValue(int row, int col) throws java.lang.Exception
CommandBuildResultsPlugin
row
- the row to usecol
- the columnjava.lang.Exception
- Exception A serious problemprotected java.lang.String extMakeThreadName(java.lang.String sql)
extMakeThreadName
in class Command
sql
- The sql that will be processed.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.