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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResultEntity
build(SearchResult result)
Builds a REST ContentEntity for the given search resultSearchResultEntity
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
- theSearchResult
- 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
- theSearchResult
- 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.
-
-