code: public Object wrapFindResult(Map<String, Object> searchResults, EntityType entityType, Object result,
              EntityMetadata metadata, boolean b)
      {
          return wrap(searchResults, entityType, result, metadata, b);
      }
docs: Wrap find result.
  
  @param searchResults
  the search results
  @param entityType
  the entity type
  @param result
  the result
  @param metadata
  the metadata
  @param b
  the b
  @return the object