public method O2GMessagesTable.findRow

Brief

Finds a row in the O2GMessagesTable by a MsgID.

Declaration
Java
O2GMessageTableRow  findRow (String id)

Parameters
id

The unique identification number of a message. The number is unique within the same database that stores the account trader. For example, MINIDEMO or U100D1. The uniqueness of the message itself is assured by the combination of the database ID and the value of this field.

Details

If the row is not found, the method returns null.

Example

Find message by MsgID [hide]

    O2GMessagesTable messagesTable = (O2GMessagesTable)tableManager.getTable(O2GTableType.MESSAGES);
    O2GMessageTableRow message = messagesTable.findRow(mMsgID);
    System.out.println("MessageID: " + message.getMsgID() +
                       " From = " + message.getFrom() ++
                       " Text = " + message.getText());

Declared in O2GMessagesTable

back