com.atlassian.confluence.plugins.rest.entities.builders
Interface SearchEntityBuilder

All Known Implementing Classes:
AttachmentEntityBuilder, CommentEntityBuilder, CustomContentEntityBuilder, DefaultContentEntityBuilder, PageContentEntityBuilder, PersonalInformationContentEntityBuilder, SpaceEntityBuilder, WikiLinkableContentEntityBuilder

public interface SearchEntityBuilder

Builds REST ContentEntity objects from Confluence search results.

Since:
3.2

Method Summary
 SearchResultEntity build(SearchResult result)
          Builds a REST ContentEntity for the given search result
 SearchResultEntity build(SearchResult result)
          Builds a REST ContentEntity for the given search result
 

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.


Copyright © 2003-2014 Atlassian. All Rights Reserved.