Interface TableLoadListener
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiononTableLoadCompleted
(AoservTable<?, ?> table, Object param) Called when the table is completely loaded.onTableLoadFailed
(AoservTable<?, ?> table, Object param, Throwable cause) Called when the table load has failed.onTableLoadRowCount
(AoservTable<?, ?> table, Object param, Long rowCount) Called once the number of rows that will be loaded is known or known to be unknown.onTableLoadStarted
(AoservTable<?, ?> table, Object param) Whenever anAoservTable
is starting to be loaded, this is called with the parameter that was provided in theAoservTable.addTableLoadListener(com.aoindustries.aoserv.client.TableLoadListener, java.lang.Object)
call.onTableRowLoaded
(AoservTable<?, ?> table, Object param, long rowNumber, AoservObject<?, ?> object) Called as each row is loaded.
-
Method Details
-
onTableLoadStarted
Whenever anAoservTable
is starting to be loaded, this is called with the parameter that was provided in theAoservTable.addTableLoadListener(com.aoindustries.aoserv.client.TableLoadListener, java.lang.Object)
call.The object returned is stored and will be the parameter provided in the next call.
-
onTableLoadRowCount
Called once the number of rows that will be loaded is known or known to be unknown.The number of rows is only known when a
ProgressListener
has been registered on the table. If the row count is required, also add aProgressListener
.When a table load auto-retries on failure, this may be called more than once for a given
onTableLoadStarted(com.aoindustries.aoserv.client.AoservTable, java.lang.Object)
. Each time, it indicates that the load is starting over.The object returned is stored and will be the parameter provided in the next call.
- See Also:
-
onTableRowLoaded
Object onTableRowLoaded(AoservTable<?, ?> table, Object param, long rowNumber, AoservObject<?, ?> object) Called as each row is loaded.The object returned is stored and will be the parameter provided in the next call.
- Parameters:
rowNumber
- The row number loaded, started at zero.
-
onTableLoadFailed
Called when the table load has failed.The object returned is stored and will be the parameter provided in the next call.
-
onTableLoadCompleted
Called when the table is completely loaded.The object returned is stored and will be the parameter provided in the next call.
-