public class ReportCommand extends SQLCommand
REPORT class_name [LAYOUT [layout_name]|[SCREEN_KEY layout_key]] [WHERE clause] [ATTRIBUTES attributes_values] [ORDER BY order] [FORMAT output_format] [EMAIL [SUBJECT subject_tx] [TEMPLATE template_code] [FROM from_address] [TO to_list]] [SEND send_to_url]Usage
REPORT contact WHERE country = 'AU'THREAD MODE: SINGLE THREADED command
CURSOR_SIZE
Constructor and Description |
---|
ReportCommand(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, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public ReportCommand(Connection connection, Pattern pattern)
connection
- the connectionpattern
- the patternprotected void execute(@Nonnull Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col
- the columnpublic java.lang.String getRecordID(int row)
row
- the row indexpublic java.lang.String getColumnType(int col)
col
- the column indexpublic java.lang.Object getValue(int row, int col)
row
- the row indexcol
- the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.