Package com.smartgwt.client.callbacks
Interface RowCountCallback
public interface RowCountCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ResultSet resultSet, DSResponse dsResponse, boolean invalidated) Callback fired when ResultSet.fetchRowCount() completes
-
Method Details
-
execute
Callback fired when ResultSet.fetchRowCount() completes- Parameters:
resultSet
- theResultSet
resultSet that issued the row-count fetch request.dsResponse
- theDSResponse
from the fetch request. May be null if the row count fetch was invalidated before the server respondedinvalidated
- boolean indicating whether the rowCountFetch request was invalidated. This parameter will be true if, after the row count fetch request was issued, the criteria were changed, the cache was invalidated or the rowCount status has changed since the fetch was initiated. CallingResultSet.fetchRowCount()
before a row count fetch has completed will also invalidate the previous row count fetch. In any of these cases the row count will not be updated by this fetch operation.
-