public class TransactionCommand extends SQLCommand
TRANSACTION [
FIELD field_path
[KEY global_key]
[FROM from_date]
[TO to_date]
[LIKE value]
[SORT order]
] |
[
CLASS class_name [,...]
[FROM from_date]
[TO to_date]
[USER user]
[START start_transaction_nr]
] |
[RECORD class_name, row_uid] |
[HEAD trans_id [,layer_id]] |
[ERASE trans_id [,layer_id]] |
[LIST trans_id [,layer_id]] |
[VALUES row_uid, trans_id [,layer_id]]
Usage/* Search for a Folder EVER name 'abc' */ TRANSACTION FIELD DBFolder:name LIKE 'abc'; /* Lists the transactions for a record */ TRANSACTION RECORD person, 1923373; /* Lists the records changed in a transaction */ TRANSACTION LIST 123;THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
TransactionCommand(Connection connection,
Pattern pattern)
std.
|
| 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)
Gets the column type for the given column index, starting at one
|
java.lang.String |
getRecordID(int row)
the record ID
|
java.lang.Object |
getValue(int row,
int col)
the value for this row, column
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic TransactionCommand(Connection connection, Pattern pattern)
connection - the connectionpattern - the patternprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
col - the column indexpublic java.lang.String getRecordID(int row)
row - the row indexpublic java.lang.Object getValue(int row,
int col)
row - the row indexcol - the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.