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)
SearchEntityBuilder
build
in interface SearchEntityBuilder
result
- the SearchResult
null
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)
SearchEntityBuilder
build
in interface SearchEntityBuilder
result
- the SearchResult
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–2015 Atlassian. All rights reserved.