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
Modifier and TypeMethodDescriptionbuild
(SearchResult result) Builds a REST ContentEntity for the given search resultbuild
(SearchResult result) Builds a REST ContentEntity for the given search result
-
Method Details
-
build
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
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.
-