public < T extends IEntity > void findAllAsync ( T entity , CallbackHandler callbackHandler ) throws FMSException { //findall is to be called as query String query = "SELECT * FROM " + entity . getClass ( ) . getSimpleName ( ) ; executeQueryAsync ( query , callbackHandler ) ; }
Method to retrieve all records for the given entity in asynchronous fashion Note without pagination this will return only 100 records Use query API to add pagintion and obtain additional records