public method O2GSummaryTable.getNextRow

Brief

Gets the next row from the O2GSummaryTable.

Declaration
Java
O2GSummaryTableRow  getNextRow (O2GTableIterator iterator)

Parameters
iterator

The table iterator.

Details

If the row is not found, the method returns null.
Note: The returned row contains the current values of fields. The values are not automatically updated. To monitor changes, use IO2GTableListener.onChanged. The row interface is thread-safe. One can use the returned row in different threads without synchronization.

Example

Get next row from the Accounts table [hide]

    O2GSummaryTable summaryTable = (O2GSummaryTable)tableManager.getTable(O2GTableType.SUMMARY);
    O2GTableIterator iterator = new O2GTableIterator();
    O2GSummaryTableRow summary = summaryTable.getNextRow(iterator);
    while (summary != null) {
        System.out.println("OfferID: " + summary.getOfferID() +
                           " NetPL = " + summary.getNetPL() +
                           " Amount = " + summary.getAmount());
        summary = summaryTable.getNextRow(iterator);
    }

Declared in O2GSummaryTable

back