public class AttachmentEntityBuilder extends Object implements SearchEntityBuilder
| Constructor and Description |
|---|
AttachmentEntityBuilder(AnyTypeDao anyTypeDao,
DefaultRestAttachmentManager restAttachmentManager) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public AttachmentEntityBuilder(AnyTypeDao anyTypeDao, DefaultRestAttachmentManager restAttachmentManager)
public SearchResultEntity build(SearchResult result)
SearchEntityBuilderbuild in interface SearchEntityBuilderresult - the SearchResultnull if the current user is not permitted to view the content or
if no content object can be found for the given result.public SearchResultEntity build(SearchResult result)
SearchEntityBuilderbuild in interface SearchEntityBuilderresult - the SearchResultnull 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–2021 Atlassian. All rights reserved.