code: @SuppressWarnings("unchecked")
      public <T extends IEntity> List<T> findAll(T entity) throws FMSException {
  
          String intuitQuery = "SELECT * FROM " + entity.getClass().getSimpleName();
          QueryResult result = executeQuery(intuitQuery);
          return (List<T>) result.getEntities();
      }
docs: Method to retrieve all records for the given entity
  Note, without pagination this will return only 100 records
  Use query API to add pagintion and obtain additional records
  
  @param entity
  the entity
  @return returns the queryResult
  @throws FMSException
  throws FMSException