Interface SearchEntityBuilder

    • Method Detail

      • build

        SearchResultEntity build​(SearchResult result)
        Builds a REST ContentEntity for the given search result
        Parameters:
        result - the SearchResult
        Returns:
        the entity, or null if the current user is not permitted to view the content or if no content object can be found for the given result.
      • build

        SearchResultEntity build​(SearchResult result)
        Builds a REST ContentEntity for the given search result
        Parameters:
        result - the SearchResult
        Returns:
        the entity, or null if the current user is not permitted to view the content or if no content object can be found for the given result.